Skip to content

Commit 3db8bcd

Browse files
authored
Update New-PublicFolderMoveRequest.md
1 parent 40bf813 commit 3db8bcd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

exchange/exchange-ps/exchange/New-PublicFolderMoveRequest.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ This example begins the move request for public folders under the \\Dev public f
6868
You can also move a branch of public folders by using the Move-PublicFolderBranch.ps1 script.
6969

7070
### Example 3
71-
71+
```powershell
7272
$folders = Get-PublicFolder \ -Recurse -Mailbox PUB1 -ResidentFolders | ?{$_.Name -ne "IPM_SUBTREE"} | %{$_.Identity};New-PublicFolderMoveRequest -TargetMailbox PUB2 -Folders $folders
73+
```
7374

7475
This example moves all public folders from public folder mailbox Pub1 to public folder mailbox Pub2.
7576

0 commit comments

Comments
 (0)