question

Abdelloukan-0643 avatar image
0 Votes"
Abdelloukan-0643 asked joyceshen-MSFT commented

Goal: How to Reset all recipients password with 1 password in Exchange Powershell?

In Exchange Powershell as domainadmin.

action taken so far: $password = read-host "Password1" -Password $password.
response155299-pw-reset-echange-recipients.png![155329-pw-reset-echange-recipients.png][2]



office-exchange-server-administrationoffice-exchange-online-itprooffice-exchange-server-connectivity
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Abdelloukan-0643

Is there any update about your issue?

0 Votes 0 ·

Hi @Abdelloukan-0643

Any progress here, can you reset the password now?

0 Votes 0 ·
AndyDavid avatar image
0 Votes"
AndyDavid answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

joyceshen-MSFT avatar image
0 Votes"
joyceshen-MSFT answered

Hi @Abdelloukan-0643

Agree with Andy, we generally manage users' password in AD side. How to Reset a User Password in Active Directory with PowerShell?
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

In the command set-mailbox also has the parameter -Password, The Password parameter resets the password of the user account that's associated with the mailbox to the value you specify. To use this parameter on a mailbox other than your own, you need to be a member of one of the following role groups:

On-premises Exchange: The Organization Management or Help Desk role groups via the User Options role. The Reset Password role also allows you to use this parameter, but it isn't assigned to any role groups by default.

This parameter uses the syntax (ConvertTo-SecureString -String '<password>' -AsPlainText -Force). Or, before you run this command, store the password as a variable (for example, $password = Read-Host "Enter password" -AsSecureString), and then use the variable name ($password) for this parameter.


If an Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.