Exchange 2013 – Split-PublicFolderMailbox.ps1 Fails

You may or may not have SCOM in your environment and you get this alert.

PublicFolders health set unhealthy (PublicFolderMailboxQuotaMonitor/PublicFolders) – Public folder mailbox <mailbox> is approaching storage limit – The public folder mailbox <mailbox> is approaching its storage limit. Consider splitting the mailbox using Split-PublicFolderMailbox.ps1. This warning will not be sent again for at least twenty four hours.

You try Split-PublicFolderMailbox.ps1 only for it to fail.

Do this instead

Get the Public Folders in said mailbox, sort by itemcount or size.

Get-PublicFolder -Recurse | ?{$_.contentmailboxname -like “*mymailbox*”} | Get-PublicFolderStatistics | sort itemcount | select name, folderpath, itemcount, totalitemsize

Identify your folders and run

New-PublicFolderMoveRequest -Folders “\MyPath\ToFolder”, “MyPath\ToAnotherFolder” -TargetMailbox myPFMailbox

 

Advertisements

One thought on “Exchange 2013 – Split-PublicFolderMailbox.ps1 Fails

  1. Pingback: Public Folder Mailbox. Storage Limit. False Alerts. | Ramblings of a System Engineer

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s