Jump to content

Recommended Posts

Posted

So first intake with the new exchange server, unlike the old 2007 I can't bulk select 117 users and click create mailbox. Now I have to use the superior powershell method! or do it 1 at a time :(

 

Enable-Mailbox [email protected] -Database "Mailbox Database 0768102315"

This command works great is simple and clear! Now how to use it with the other 116 pupils? I'm thinking I need to tell it to look at a csv how do I do this.

 

I think that the CSV only needs the upn in it.

 

Examples on line seem to include unnecessary details in the CSV and use them in the script?

 

 

 

 

SIDENOTE: This is the first step I'll migrate to o365 later.

 

(if I give the pupils emails from within o365, although they work the local exchange server is unaware of them, I worry what that may mean in the future.) Hybrid.

Posted

Get-User -OrganizationalUnit "DCC-SCH-4505.local/Learning Gateway/Managed Pupils (7)/test" | Enable-Mailbox -Database "Mailbox Database 0768102315"

 

well, that was easy (when you know how) just make sure no users already has an email address.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...