CmdID / PowerShell / Cmdlets / Set
Set-UMMailboxPIN
Use the Set-UMMailboxPIN cmdlet to reset the PIN for a Unified Messaging (UM)-enabled mailbox. Exchange PowerShell reference
From the Exchange PowerShell reference 11 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the mailbox that you want to modify.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-IgnoreDefaultScopeThe IgnoreDefaultScope switch tells the command to ignore the default recipient scope setting for the Exchange PowerShell session, and to use the entire forest as the scope.-LockedOutThe LockedOut parameter specifies whether the mailbox is locked out of UM.-NotifyEmailThe NotifyEmail parameter specifies the email address to which the server sends the email message that contains the PIN reset information.-PinThe Pin parameter specifies a new PIN for use with the mailbox.-PINExpiredThe PINExpired parameter specifies whether the PIN is treated as expired.-SendEmailThe SendEmail parameter specifies whether to send a PIN to the user in an email message.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.-PINExpiredThe PINExpired parameter specifies whether the PIN is treated as expired.