This PowerShell script is something we worked up for a large deployment moving users profiles cross forest with ADMT. Each one needed to be reset to login as ADMT does not keep those credentials.

This is using the login twice, and requires MSONLINE modules. The first login is to Office 365 Exchange, the second is Azure AD (MSOnline) we use information from both.

In the user section just above ‘New Default Password’ in the pic. The script can easily be changed to accept a list of users as a local flat file. $user = ./listOfUsers.txt. (This is untested at this time)

Download Link:

Download File
By | 2019-05-31T22:16:23+00:00 May 31st, 2019|