Remove more references to EXO-only mode
This commit is contained in:
parent
3e880672dd
commit
585f3ada1b
@ -59,7 +59,7 @@ do
|
|||||||
Set-Mailbox -Identity $Alias.Displayname -EmailAddresses $Alias.EmailAddresses.Split(";")
|
Set-Mailbox -Identity $Alias.Displayname -EmailAddresses $Alias.EmailAddresses.Split(";")
|
||||||
}
|
}
|
||||||
|
|
||||||
#Get the mailboxes from Exchange Online and print the email addresses to confirm the changes.
|
#Get the mailboxes from Exchange and print the email addresses to confirm the changes.
|
||||||
Foreach ($Alias in $Alias_list) {
|
Foreach ($Alias in $Alias_list) {
|
||||||
$addresses = (Get-Mailbox -Identity $Alias.Displayname).EmailAddresses
|
$addresses = (Get-Mailbox -Identity $Alias.Displayname).EmailAddresses
|
||||||
if ($addresses -eq $Alias.EmailAddresses) {
|
if ($addresses -eq $Alias.EmailAddresses) {
|
||||||
|
Loading…
Reference in New Issue
Block a user