You'd have to do a Get-User and then pipe that to New-Mailbox. The issue is defining a Get-User statement that gets just the users you want. Are they all in one OU?
Pat RichardMVP Plan for performance, and capacity takes care of itself. Plan for capacity, and suffer poor performance.
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
In looking at Mark's link, I don't see why that wouldn't work except for maybe the server name. But without seeing the error, I can't help any further.
Pat RichardMVP Plan for performance, and capacity takes care of itself. Plan for capacity, and suffer poor performance.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.