Create New User

From KlavoWiki
Revision as of 23:38, 13 April 2011 by David (Sọ̀rọ̀ | contribs) (Created page with "[http://technet.microsoft.com/en-us/library/aa997663.aspx Microsoft TechNet New-Mailbox] <pre> $password = Read-Host "Enter password" -AsSecureString New-Mailbox -Name 'Last In...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Microsoft TechNet New-Mailbox

$password = Read-Host "Enter password" -AsSecureString

New-Mailbox -Name 'Last Initial. First' -Alias 'Alias' -OrganizationalUnit 'ingrnet.com/Asia Pacific/Australia/Brisbane/Users' -UserPrincipalName 'Alias@ingrnet.com' -SamAccountName 'Alias' -FirstName 'First' -Initials 'Initial' -LastName 'Last' -Password $password -ResetPasswordOnNextLogon $true