MCPMag.com

Sign up for our newsletter.

I agree to this site's Privacy Policy.

Pop Quiz

Exchange 2010 Pop Quiz: Creating New User and Mailbox

Applies to the "Configuring Exchange Recipients and Public Folders" objective of Exam 70-662.

Q: Choose the correct Exchange PowerShell command to create a new user and mailbox.

  1. New-Mailbox -Name 'Test User' -Alias 'testuser' -UPN 'testuser@contoso.com' -SamName 'testuser' -FirstName 'Test' -Initials '' -LastName 'User' -Password 'System.Security.SecureString' -ResetPasswordOnNextLogon $false
  2. New-Mailbox -Name 'Test User' -Alias 'testuser' -UserPrincipalName 'testuser@contoso.com' -SamAccountName 'testuser' -FirstName -Initials '' -LastName 'User' -Password 'System.Security.SecureString' -ResetPasswordOnNextLogon $false
  3. New-Mailbox -Alias 'testuser' -UserPrincipalName 'testuser@contoso.com' -SamAccountName 'testuser' -FirstName 'Test' -Initials '' -LastName 'User' -Password 'System.Security.SecureString' -ResetPasswordOnNextLogon $false
  4. New-Mailbox -Name 'Test User' -Alias 'testuser' -UserPrincipalName 'testuser@contoso.com' -SamAccountName 'testuser' -FirstName 'Test' -Initials '' -LastName 'User' -Password 'System.Security.SecureString' -ResetPasswordOnNextLogon $false

Answer and explanation is below.

Answer is D: The New-Mailbox –Name 'Test User' –Alias 'testuser' –UserPricipalName 'testuser@contoso.com' –SamAccountName 'testuser' is the correct command to create a new user and mailbox.

When creating a new user and mailbox the PowerShell command syntax must include the –name, -alias, –UserPrincipalName, and SamAccountName.

Quick Tip: Learn more about Exchange Exchange PowerShell commands here.

References:

Bonus Question: Which database maintenance task is required prior to using Windows Server Backup? (Tweet your answer with #pop662c and get a chance to win a Redmond t-shirt! Deadline for entries is Monday, February 27.)

Answer to last week's bonus question: The Exchange 2010 archive mailbox feature allows users to have long-term mailbox data kept automatically in a separate mailbox.

About the Author

Andy Barkl, MCT/MCITP/MCSA, A+, Network+, Security+, CCNA has been studying technology for 30 years. Of the last 15 years, he has spent much of his time parting the knowledge and experience he has gained through IT exams, over 300, to help others be prepared and successful. He teaches classes in Phoenix, Ariz. where he has lived most of his life. He can be reached by e-mail at andy.barkl@gmail.com.

comments powered by Disqus