HOTSPOT –
You work for a company named Contoso Ltd. The company deploys Office 365. Only cloud-based identities are used to access Office 365 resources.
Users must be able to log into Office 365 after you create new accounts.
You need to reset passwords for all company employees.
What should you do? To answer, select the appropriate Windows PowerShell segment in the dialog box in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer
Explanation:
The Connect-MsolService cmdlet attempts to initiate a connection to Azure Active Directory. Running the Get-MsolUser cmdlet without parameters retrieves all users in the company.
The Set-MsolUserPassword cmdlet resets the password for a user.
References:
https://www.lewan.com/blog/2012/01/10/microsoft-office-365-how-to-reset-all-user-passwords https://docs.microsoft.com/en-us/powershell/module/msonline/connect-msolservice?view=azureadps-1.0 https://docs.microsoft.com/en-us/powershell/module/msonline/get-msoluser?view=azureadps-1.0 https://docs.microsoft.com/en-us/powershell/module/msonline/set-msoluserpassword?view=azureadps-1.0