Skip to content

Commit eba3e1c

Browse files
committed
Updated Example to reflect targeting source folder
1 parent b166996 commit eba3e1c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

exchange/exchange-ps/exchange/mailboxes/New-SweepRule.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ New-SweepRule -Name "From Lila" -Mailbox "Felipe Apodaca" -Provider Exchange16 -
4747
```
4848

4949
This example creates a new Sweep rule named "From Lila" in Felipe Apodaca's mailbox that moves messages from [email protected] in the Inbox folder that are older than 10 days to the Deleted Items folder.
50+
### -------------------------- Example 3 --------------------------
51+
```
52+
New-SweepRule -Name "From Jeff" -Mailbox "Felipe Apodaca" -Provider Exchange16 -Sender [email protected] -SourceFolder "Felipe:\Sent Items" -KeepForDays 10
53+
```
54+
55+
This example creates a new Sweep rule named "From Jeff" in Felipe Apodaca's mailbox that moves messages from [email protected] in the Sent Items folder that are older than 10 days to the Deleted Items folder.
5056

5157
## PARAMETERS
5258

0 commit comments

Comments
 (0)