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?

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

Explanation:
Example:
Modify the UPNSuffixes property for the fabrikam.com forest by 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.



Leave a Reply 0

Your email address will not be published. Required fields are marked *