How to change the Mailbox Password using shell command

To set a new password for a Mailbox
Set-Mailbox -Identity "Mailbox Name" -Password (ConvertTo-SecureString -String "NewPassword" -AsPlainText -Force)
and to reset the password on next logon
Set-Mailbox -Identity "Mailbox Name" -Password (ConvertTo-SecureString -String "NewPassword" -AsPlainText -Force) -ResetPasswordOnNextLogon $True

Comments

Popular posts from this blog

Installing, Configuring Exchange 2007 Edge Server (Part 2)

Configure SSL Offloading in Exchange 2010