I guess I could have thrown this in a For Loop asking you if you needed to add more users, but I didn't. Change the pin of course to what you would want and if you have 5 digit pin policy change the wording.
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn
$user = Read-Host 'Enter the name of the user you would like to setup voicemail for '
$extension = Read-Host 'Enter 4 digit extension of user '
Enable-UMMailbox -UMMailboxPolicy "AdminDialPlan Default Policy" -PinExpired $true -Pin 4321 -Extensions $extension -Identity $user
No comments:
Post a Comment