Virtualization, Cloud, Infrastructure and all that stuff in-between
My ramblings on the stuff that holds it all together
POSH1Liner – Enable Exchange mailboxes for all users in a specific OU
October 21, 2018
Posted by on Inside the Exchange Management Shell..
Get-User -OrganizationalUnit "NAME_OF_OU" | Enable-Mailbox
Note: can just be the name of the OU, doesn’t need to be the full DN
e.g.
Get-User -OrganizationalUnit "NZ" | Enable-Mailbox
will just enable all the users in the NZ OU (which in my case is a sub-OU of ‘demo users’