A fast process we require to do often; to create multiple mailboxes at one go… And the Script Follows: (Study the script please for your future growth) $numberofMailboxes = Read-Host “Enter the Number of Mailboxes you want” $EnterPrefix = Read-Host “Enter the Prefix of the Account” $GettingPassword = Read-Host “Enter the Password for the accounts” $Password = Convertto-SecureString “$GettingPassword” -Asplaintext -Force $GettingEmailSuffix = “((Get-AcceptedDomain)[0]).Name” $mail = “@”+”$GettingEmailSuffix” For($i=0;$i -le $numberofMailboxes;$i++) { $UPN = “$EnterPrefix”+”$i”+”$mail” $Name = “$EnterPrefix”+”$i” New-Mailbox -Name $Name -Alias $Name -UserPrincipalName $Upn -Password $Password } And Read More …
Day: February 28, 2013
Single Exchange Server Environment: Re-Create A PowerShell Virtual Directory
DO IT IN A LAB ENVIRONMENT FIRST….ALWAYS TEST Effected Machine: Exchange Server 2010 In this blog I will show you how to recreate Powershell Virtual Directory in a Single Exchange Server Environment. We need to create this Powershell Virtual Directory when Read More …