Determine whether a user has an online archive using PowerShell
A user posted a question on Windows 2012 Forums asking if it is possible to determine whether or not a user has an online archive using PowerShell. This is indeed possible, and here is how: $Mailbox = Get-Mailbox user@yourdomain.com $Mailbox.ArchiveDatabase…
Delete a disconnected mailbox
Today I needed to remove a mailbox that has been disconnected, but this option isn’t available from the Exchange Management Console so I turned to PowerShell. First, I used the Get-MailboxStatistics cmdlet to generate a list of disabled mailboxes: Get-MailboxStatistics…
Determine if a mailbox is a linked mailbox using PowerShell
If you need to determine whether a mailbox is a linked mailbox using PowerShell you can achieve this with the Get-Mailbox cmdlet: $Mailbox = Get-Mailbox user@domain.com $Mailbox.RecipientTypeDetails
Schedule an out of office message using PowerShell
Today I had to configure an out of office message for a mailbox that needed to activate at a specific time. Exchange 2010 allows me to do this easily using the Set-MailboxAutoReplyConfiguration PowerShell cmdlet: Set-MailboxAutoReplyConfiguration <alias> -AutoReplyState Scheduled -ExternalAudience All -InternalMessage…
Manually start messaging records management (MRM) processing
I have just created an online archive for a user that has far exceeded their mailbox quota and can no longer receive mail. In order to ensure their mailbox gets archived straight away, instead of waiting until the process is…
User PowerShell to get a recursive list of group members
Today I was asked to provide a list of recipients for a distribution list. The group was full of nested groups, so may have taken a little time to work out if it wasn’t for PowerShell. I used the Get-ADGroupMember…