Home » Learn IT » OS » Microsoft » Powershell » Exchange

This script autoupdate your meeting in your Calendar. (very useful for Managers that cannot see they´re meeting in BlackBerry like information)

  • Set-CalendarProcessing user@domain -AutomateProcessing AutoUpdate

This script lists all Exchange databases and their sizes

  • Get-MailboxDatabase -Status | select Name,DatabaseSize| Out-GridView

This script get the number of mailboxes on each Exchange store

  • Get-MailboxDatabase | Select-Object Name,@{Name=”Number of users”;Expression={(Get-Mailbox -Database $_.name).Count}}|Out-GridView

This script lists all active databases in the Exchange organization

  • Get-MailboxDatabase | % { Get-MailboxDatabaseCopyStatus $_.name} | Out-GridView

Clean MailboxDatabase

  • get-mailboxserver | get-mailboxdatabase | Clean-MailboxDatabase

Disconnected Mailboxes

  • Get-MailboxDatabase | Get-MailboxStatistics | where {$_.DisconnectReason -ne $null} | ft displayname,database,disconnectreason -auto

Leave a Reply

Your email address will not be published. Required fields are marked *