|
Re: Create new user account quote:
New-MailUser -Name $username -Password $password -ExternalEmailAddress
($username + "@test.com").ToString() -UserPrincipalName ($username +
"@test.com").ToString() -Organizational test.com/test
It will create a user account, and its way it should be done in
PowerShell. Clean, simple, documented.
reply:
yep to be fair, MS so far has just made an active directory adapter,
not a series of cmdlets for active directory.. I personally think that
for v2 a series of cmdlets for active directory management and an
active directory provider would be a good and valuable addition, so go
to connect and submit it if you think so. In reality though.. it
probably should be the active directory team that writes that for
powershell, just as the exchange team wrote the exchange cmdlets etc...
Karl |