Exchange Management Shell Create New User with Exchange 2010 Shell
Command:
New-Mailbox -Name 'new user' -Alias 'nuser' -UserPrincipalName 'nuser@your-domain.com' -SamAccountName 'nuser' -FirstName 'new' -Initials '' -LastName 'user' -Password 'System.Security.SecureString' -ResetPasswordOnNextLogon $false
I used this just today and it worked very nicely. I suspect the command can be oput into a script or batch file to create many accounts without the need for exchange 2010 Managment console.
No comments:
Post a Comment