Thursday , November 26 2020

Powershell

Clean-MailboxDatabase (Exchange2010) is Update-StoreMailboxState in Exchange 2013

To refresh the disconnected mailboxes in Exchange 2010 databases – Clean-Mailboxdatabase For Specific Database – Get-MailboxDatabase “Dbname” | Clean-mailboxdatabase For all Databases – Get-MailboxDatabase | Clean-mailboxdatabase To refresh the disconnected mailboxes in Exchange 2013 databases – Update-StoreMailboxState For Specific Database – Get-MailboxStatistics -Database “Dbname” | Where { $_.DisconnectReason -ne $null …

Read More »

Quick Tip – Import-RecipientDataProperty – Exchange 2013

Exchange 2013 has a Cmdlet to Import Mailbox/Contact display Picture. Import-RecipientDataProperty -Identity Cloud@careexchange.in -Picture -FileData ([Byte[]]$(Get-Content -Path “C:\Users\photo\Cloudteam.jpg” -Encoding Byte -ReadCount 0)) Note – The picture must be a JPEG file and shouldn’t be larger than 10 kilobytes (KB) You can pipe Mail Contacts and Mailbox from Exchange Management Shell. …

Read More »