Exchange 2010 – Benutzer- und Kontaktverwaltung

Create a new AD user with a mailbox

[PS] C:\MyPath>$password = Read-Host “Enter password” -AsSecureString
[PS] C:\MyPath>New-Mailbox -Name ‘Devel One’ -Alias ‘devone’
-OrganizationalUnit ‘dev-dom.halli.me/Devel/Domusers’
-PrimarySmtpAddress ‘devel.one@dev-dom.halli.me’
-UserPrincipalName ‘devone@dev-dom.halli.me’
-SamAccountName ‘devone’
-FirstName ‘Devel’
-Initials ‘DO’
-LastName ‘One’
-Password $password
-ResetPasswordOnNextLogon $true
-Database ‘Support’

Name                      Alias                ServerName       ProhibitSendQuota
—-                      —–                ———-       —————–
Devel One                 devone               mail             unlimited

[PS] C:\MyPath>

This entry was posted in MS Exchange and tagged , , . Bookmark the permalink.

Comments are closed.