Quantcast
Channel: Exchange Server 2010 forum
Viewing all articles
Browse latest Browse all 19214

get disabled users whole mailbox not located in DB

$
0
0

I am looking for a exchange command to get all users who are in OU Test1 but their mailboxes are not located in Mailbox database "Disabled user DB".

something like this i am thinking of:

[PS] C:\Windows\system32>Get-Mailbox -OrganizationalUnit"OU=DisableUsers,DC=abc,DC=com" | ?{$_.database -ne "Dis
abled Database 1"}


Viewing all articles
Browse latest Browse all 19214

Trending Articles