PrepAway - Latest Free Exam Questions & Answers

How should you complete the relevant Windows PowerShell command?

DRAG DROP
You are the Office 365 administrator for your company. Your company uses Office 365 for
collaboration.
You must reset the password for all of the employees in your company.
You need to ensure that all employees create a new password the next time they sign in to Office
365.
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.

PrepAway - Latest Free Exam Questions & Answers

Answer:

7 Comments on “How should you complete the relevant Windows PowerShell command?

  1. Massimo says:

    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.




    1



    0
  2. Creper says:

    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]




    0



    0
  3. Homer says:

    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 😀




    0



    0
  4. startbucks says:

    The question says….You need to ensure that all employees create a new password the next time they sign in to Office
    365.

    so therefore “-ForceChangePassword $True” is required if you want to force the user to change password on next access.




    0



    0
  5. startbucks says:

    i tried it in my environment for 1 user only just to test it first.

    RESULTS:

    Set-MsolUserPassword -UserPrincipalName user@domain -NewPassword Pass#123#

    – i was able to set my password once i signed in but i have to put the current password.

    While

    Set-MsolUserPassword -UserPrincipalName user@domain.com -ForceChangePassword $true

    – same results as above. So i assume both answers are correct.




    0



    0

Leave a Reply