Forum Discussion
Deleted
Aug 29, 2016Bulk creating Shared Mailboxes
Hello Team, I am in the process of creating bulk shared mailboxes (150) any body has any handy script already if so can you please share?
SanthoshB1
Aug 29, 2016Bronze Contributor
for($i=1; $i -le 150; $i++)
{
$Name="sharedmailbox"+$i
New-Mailbox -Shared -Name $Name -DisplayName $Name -Alias $Name
} Deleted
Aug 29, 2016Thanks Santosh.
copy and paste it to notepad and rename as .ps1 and run? that is it?
- SanthoshB1Aug 29, 2016Bronze Contributoryes, it will work as .ps1 but need to run in exchange online connected powershell