Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 15370

Powershell cmdlet for exchange to add mailboxes

$
0
0

Other Post

Hey guys, I'm looking for a exchange powershell cmdlet that will create a new mailbox from and existing user.  I want all existing users that are members of the security group "ExchangeUsers" to have there mailboxes created and added to "DB1".  I know this can be done if the users are in a OU, however I have alot of OU's in my directory tree.  Here is the OU approach: Get-User –OrganizationalUnit ExchangeUsers | Enable-Mailbox –Database “name of Database”

 

Can you manipulate this cmdlet to pull from users from a group ?  Thanks 


Viewing all articles
Browse latest Browse all 15370

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>