Which cmdlet should you use?

You have an Office 365 subscription that contains 500 user accounts.
None of the Office 365 users are forced to use a strong password.
You need to force all of the users to use a strong password.
Which cmdlet should you use?

You have an Office 365 subscription that contains 500 user accounts.
None of the Office 365 users are forced to use a strong password.
You need to force all of the users to use a strong password.
Which cmdlet should you use?

A.
Set-ADUser

B.
Set-MsolUser

C.
Set-MsolUserPassword

D.
Set-MsolPasswordPolicy

Explanation:
Force the users to use a strong password with the Set-MSOlUser cmdlet.
https://blogs.technet.microsoft.com/heyscriptingguy/2014/08/05/use-powershell-to-force-office-365-
online-users-to-change-passwords/



Leave a Reply 3

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


Hakeem

Hakeem

Set-msolPasswordPolicy only has -Notificationdays and -ValidityPeriod Parameters therefore C cant be the answer but B cos it has -StrongPasswordRequired parameter