July 2017
Intermediate to advanced
648 pages
31h 9m
English
If you are planning on provisioning all of your new mailboxes through an automated script, you may want to configure these settings at mailbox creation time. Consider the following script named New-MailboxScript.ps1:
param( $name, $password, $upn, $alias, $first, $last ) $pass = ConvertTo-SecureString -AsPlainText $password -Force $mailbox = New-Mailbox -UserPrincipalName $upn ` -Alias $alias ` -Name "$first $last" ` -Password $pass ` -FirstName $first ` -LastName $last Set-CasMailbox -Identity $mailbox ` -OWAEnabled $false ` -ActiveSyncEnabled $false ` -PopEnabled $false ` -ImapEnabled $false
This script can be used to create a mailbox and configure access to Client Access services based on your requirements. If the script ...
Read now
Unlock full access