[Powershell] Inactive Mailboxes

Look for inactive mailboxes in your exchange environment

(Get-Mailbox -IncludeInactiveMailbox | where IsInactiveMailbox -eq "True") | Get-Mailbox -SoftDeletedMailbox | FL Name,Identity,LitigationHoldEnabled,InPlaceholds,WhenSoftDeleted,IsInactiveMailbox,WasInactiveMailbox,InactiveMailboxRetireTime

Get-Mailbox -InactiveMailboxOnly -ResultSize Unlimited | Select DisplayName,Name,Identity,DistinguishedName,ExchangeGuid,IsInactiveMailbox,LitigationHoldEnabled,LitigationHoldDuration,LitigationHoldDate,LitigationHoldOwner,InPlaceHolds,ComplianceTagHoldApplied

Tags:

No responses yet

Leave a Reply

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

Latest Comments

No comments to show.