How should you complete the relevant Windows PowerShell command?

DRAG DROP
A company has 50 employees that use Office 365.
You need to enforce password complexity requirements for all accounts.
How should you complete the relevant Windows PowerShell command? To answer, drag the
appropriate Windows PowerShell segment to the correct location or locations. Each Windows
PowerShell segment may be used once, more than once, or not at all. You may need to drag the split
bar between panes or scroll to view content.

DRAG DROP
A company has 50 employees that use Office 365.
You need to enforce password complexity requirements for all accounts.
How should you complete the relevant Windows PowerShell command? To answer, drag the
appropriate Windows PowerShell segment to the correct location or locations. Each Windows
PowerShell segment may be used once, more than once, or not at all. You may need to drag the split
bar between panes or scroll to view content.

Answer:

Explanation:



Leave a Reply 5

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


Massimo

Massimo

Wrong. It’s not required to specify a password (if it isn’t specified, a random one is generated), but “-ForceChangePassword $True” is required if you want to force the user to change password on next access.

Creper

Creper

Just tested in a sandbox tenant. The suggested answer forces the password reset as well. The -ForceChangePassword $ture will allow you to force a user password reset without first changing the password of the user.

To achieve both objectives use set-MsolUesrPassword -NewPassword [Password]

Jasker

Jasker

Read the question: It says: You must reset the password. It does not say: User must be forced to change password at next logon. Therefore -NewPassword is the right answeg

Dnt91

Dnt91

Correct. StrongAuthenticationRequirements is for multi-factor not password complexity.

Homer

Homer

Yes it does: “You need to ensure that all employees create a new password the next time they sign in”
The answer is correct, however it would be better without specifying a specific password
that’s just a horrible security breach, putting everyone on the same password and communicate it 😀