How should you complete the relevant Windows PowerShell command?

Posted by: Pdfprep Category: 70-346 Tags: , ,

DRAG DROP

You are the Office 365 administrator for Contoso, Ltd.

User1 is unable to sign in.

You need to change the password for User1 and ensure that the user is prompted to reset her password the next time she signs in.

How should you complete the relevant Windows PowerShell command? To answer, drag the appropriate Windows PowerShell segments 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:

The Set-MsolUserPassword cmdlet is used to change the password of a user.

The parameter -UserPrincipalName is used to specify the user to set the password for.

The following command resets the password [email protected]. A random password will be generated. The user will be required to reset the password on next sign in.

Set-MsolUserPassword [email protected]

Leave a Reply

Your email address will not be published.