PrepAway - Latest Free Exam Questions & Answers

How should you complete the relevant Windows PowerShell command?

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:

Explanation:

One Comment on “How should you complete the relevant Windows PowerShell command?

  1. tharfagar says:

    correct answer is

    Set-MsolUserPassword -ForceChangePassword $true

    this is the only combination that fulfills both requirements (reset the password and force the user to change it at next login)

    the -NewPassword parameter is not required to reset the password. if this is omitted, O365 generates a random password.

    the -ForceChangePassword parameter must be $true if you want the user to reset their password at next login.

    https://msdn.microsoft.com/en-us/library/dn194140.aspx




    1



    0

Leave a Reply