get-user OrganizationalUnit Test | where-object{$_.RecipientType -eq User -and $_.department eq Sales} | Enable-Mailbox Database MailServer\Mailbox Database