Microsoft 70-346 Exam

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?

  • A. Set-MsolUser
  • B. Redo-MsolProvisionUser
  • C. Set-MsolUserLicense
  • D. Set-MsolUserPrincipalName
  • E. Convert-MsolFederatedUser
  • F. Set-MailUser
  • G. Set-LinkedUser
  • H. New-MsolUser
Answer: Option A.
Explanation: 

The Set-MsolUser cmdlet is used to update a user object. This cmdlet should be used for basic properties only.
Parameter -PasswordNeverExpires
Sets whether or not the user’s password will expire periodically.
References:
https://docs.microsoft.com/en-us/powershell/module/msonline/set-msoluser?view=azureadps-1.0

Leave a Reply

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

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker
error: Alert: Content is protected !!