PrepAway - Latest Free Exam Questions & Answers

Which Windows PowerShell cmdlet should you run?

A company has an Office 365 tenant that has an Enterprise E1 subscription. Users currently sign in with credentials that include the contoso.com domain suffix.
The company is acquired by Fabrikam. Users must now sign in with credentials that include the fabrikam.com domain suffix.
You need to ensure that all users sign in with the new domain name.
Which Windows PowerShell cmdlet should you run?

PrepAway - Latest Free Exam Questions & Answers

A.
Set-MsolUser

B.
Redo-MsolProvisionUser

C.
Set-MsolUserLicense

D.
Set-MsolUserPrincipalName

E.
Convert-MsolFederatedUser

F.
Set-MailUser

G.
Set-LinkedUser

H.
New-MsolUser

Explanation:
The Set-MsolUserPrincipalName cmdlet is used to change the User Principal Name (user ID) of a user. This cmdlet can be used to move a user between a
federated and standard domain, which will result in their authentication type changing to that of the target domain. The following command renames
user1@contoso.com to CCole@contoso.com. Set- MsolUserPrincipalName -UserPrincipalName User1@contoso.com – NewUserPrincipalName
CCole@contoso.com
Incorrect:
Not A: The Set-MsolUser cmdlet is used to update a user object. This cmdlet should be used for basic properties only.
Not B: The Redo-MsolProvisionUser cmdlet can be used to retry the provisioning of a user object in Azure Active Directory when a previous attempt to create the
user object resulted in a validation error.
Not C: The Set-MsolUserLicense cmdlet can be used to adjust the licenses for a user.
Not E: The Convert-MsolFederatedUser cmdlet is used to update a user in a domain that was recently converted from single sign-on (also known as identity
federation) to standard authentication type. A new password must be provided for the user. Not F: Use the Set-MailUser cmdlet, used for on premises Exchange
Server (not Office 365), to modify the mail-related attributes of an existing user in Active Directory.
Not G: Use the Set-LinkedUser cmdlet to modify the properties of an existing linked user account. The Outlook Live Directory Sync (OLSync) service account is a
linked user.
Not H: The New-MsolUser cmdlet is used to create a new user in the Microsoft Azure Active Directory (Microsoft Azure AD).
Set-MsolUserPrincipalName
https://msdn.microsoft.com/en-us/library/azure/dn194096.aspx
Note: This question is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one
question in the series. Each question is independent of the other questions in this series. Information and details provided in the question apply only to
that question.


Leave a Reply