Your company uses Microsoft Exchange Online. Employees frequently need to change their primary email addresses.
The messaging operations team has requested a script to simplify the process of changing email addresses.
The script must perform the following actions:
You create the following Windows PowerShell script to read the .csv file. Line numbers are included for reference only.
You need to complete the script to meet the requirements.
Which Windows PowerShell command should you insert at line 06?
A . Set-Mailbox -Identity $UserPrincipalName -EmailAddresses @{add="SMTP:" + "$NewPrimary"; remove="SMTP:" + "$OldPrimary"}
B . Set-Mailbox -Identity $UserPrincipalName -EmailAddresses @{add="SMTP:" + "$NewPrimary", "smtp:" + "$OldPrimary"; remove="SMTP:" + "$OldPrimary"}
C . Set-Mailbox -Identity $UserPrincipalName -EmailAddresses @{add="SMTP:" + "$NewPrimary"}
D . Set-Mailbox -Identity $UserPrincipalName -PrimarySmtpAddress $NewPrimary
Answer: C
Explanation:
We add the new e-mail address. Weretain the old email address by not removing it.
Latest 70-347 Dumps Valid Version with 314 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund