SetFlags Parameter (Set-IMAP Cmdlet)
Resets the flags to the message specified by Message with the flags specified by SetFlags .
Syntax
Set-IMAP -SetFlags string
Remarks
Both the SetFlags and AddFlags parameters can be used to manage the flags of the message. When using SetFlags the original flags of the message are not preserved and only the flags specified by the parameter are applied to the message. AddFlags is used to append flags to the current message.
Default Value
""
Parameter Alias
Flags