CmdID

CmdID / PowerShell / Cmdlets / Set

Set-SweepRule

Use the Set-SweepRule cmdlet to modify Sweep rules in mailboxes. Exchange PowerShell reference

From the Exchange PowerShell reference 16 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

16 in the Exchange PowerShell reference
-IdentityThe Identity parameter specifies the Sweep rule that you want to modify.
-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.
-DestinationFolderThe DestinationFolder parameter specifies an action for the Sweep rule that moves messages to the specified folder.
-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.
-EnabledThis parameter is reserved for internal Microsoft use.
-ExceptIfFlaggedThe ExceptIfFlagged parameter specifies an exception for the Sweep rule that looks messages with a message flag applied.
-ExceptIfPinnedThe PinMessage parameter specifies an exception for the Sweep rule that looks for pinned messages.
-KeepForDaysThe KeepForDays parameter specifies an action for the Sweep rule that specifies the number of days to keep messages that match the conditions of the rule.
-KeepLatestThe KeepLatest parameter specifies an action for the Sweep rule that specifies the number of messages to keep that match the conditions of the rule.
-MailboxThe Mailbox parameter specifies the mailbox that contains the rule you want to modify.
-NameThe Name parameter specifies the name of the Sweep rule.
-ProviderThe Provider parameter specifies the provider for the Sweep rule.
-SenderThe Sender parameter specifies a condition for the Sweep rule that looks for the specified sender in messages.
-SourceFolderThe SourceFolder parameter specifies a condition for the Sweep rule that looks for messages in the specified folder.
-SystemCategoryThe SystemCategory parameter specifies a condition for the sweep rule that looks for messages with the specified system category.
-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.