Home » Microsoft » 70-417 v.2 » What cmdlet should you use?
Your network contains one Active Directory domain named contoso.com. The domain contains 10 domain controllers and a read-only domain controller (RODC) named RODC01.
You need to ensure that when administrators create users in contoso.com, the default user principal name (UPN) suffix is litwareinc.com.
What cmdlet should you use?
A. the ntdsutil command
B. the Set-ADDomain Windows PowerShell cmdlet
C. the Install-ADDSDomain Windows PowerShell cmdlet
D. the dsadd command
E. the dsamain command
F. the dsmgmt command
G. the net user command
H. the Set-ADForest Windows PowerShell cmdlet
Correct Answer: H
Explanation/Reference:
Explanation:
With this command, you modify UPN suffix for entire forest
Example:
Modify the UPNSuffixes property for the fabrikam.com forestby using the Windows PowerShell command line to modify a local instance of the fabrikam.com forest. Then set the Instance parameter to the local instance.
$forest = Get-ADForest -Identity fabrikam.com
$forest.UPNSuffixes = "fabrikam.com","fabrikam","corp.fabrikam.com"
Set-ADForest -Instance $forest.
References:
https://technet.microsoft.com/en-us/library/ee617221.aspx