Exchange Shell cmdlets
Script for Mailbox Movement :
Ensure the log drive is not running out of disc space
Dont delete the database without ensuring, no mailboxes reside in it
Public Folder Access :
Script for Mailbox Movement :
$AdminSessionADSettings.ViewEntireForest=$true
Get-Mailbox -ResultSize Unlimited | where {$_.Database -eq "Database Path"}
Get-MailboxDatabase " Database Path " | Get-MailboxStatistics | ft DisplayName, LastLoggedOnUserAccount, ServerName, DatabaseName, ItemCount, TotalItemSize
Get-Content 1.TXT | Move-Mailbox -TargetDatabase ‘Database Path’ -BadItemLimit 100 -maxthreads 6 >>.\1_out.txt
Points to note:
Ensure the log drive is not running out of disc space
Dont delete the database without ensuring, no mailboxes reside in it
Public Folder Access :
Get-PublicFolderClientPermission -Identity "\NAME OF PF" | fl
EmoticonEmoticon