Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: Help – Combining Commands

$
0
0

Give this syntax a try:


Get-Mailbox -ResultSize unlimited -Filter {ExchangeUserAccountControl -eq 'AccountDisabled'} -OrganizationalUnit 'contoso.com/Whatever/Disabled Employees'

Note the different formatting of the value provided for the OrganizationalUnit parameter. Either way works with an On-Premises Exchange 2010 Server.


Viewing all articles
Browse latest Browse all 13067

Trending Articles