Vyacheslav Fedenko
MCSE CCNP
Pages
Home
About
PowerShell Scripts
HOWTOs
My Crew
April 26, 2016
PowerShell - Find out Shared Mailboxes with enabled AD account
Get-Mailbox | where {$_.RecipientTypeDetails -like "SharedMailbox"} | foreach {Get-ADUser -Identity $_.name} | where {$_.enabled -like "True"} | select UserPrincipalName,Enabled
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment