Which Windows PowerShell cmdlet should you run?

A company has an Office 365 tenant that has an Enterprise E1 subscription.
You plan to test a new deployment by using 50 tenant user accounts.
You need to ensure that the passwords for the test user accounts do not expire.
Which Windows PowerShell cmdlet should you run? up your domain with Office 365 services, like email, you change your domain’s name server (or NS) records at your domain registrar to point to the Office 365 primary and secondary name servers.

A company has an Office 365 tenant that has an Enterprise E1 subscription.
You plan to test a new deployment by using 50 tenant user accounts.
You need to ensure that the passwords for the test user accounts do not expire.
Which Windows PowerShell cmdlet should you run? up your domain with Office 365 services, like email, you change your domain’s name server (or NS) records at your domain registrar to point to the Office 365 primary and secondary name servers.

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-MsolUser cmdlet is used to update a user object. This cmdlet should be used for basic properties only.

*Change your domain’s name server (NS) records
When you get to the last step of the domains setup wizard in Office 365, you have one task remaining. To set

Parameter -PasswordNeverExpires <Boolean>
Sets whether or not the user’s password will expire periodically.



Leave a Reply 0

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