troubleshooting Question

Need urgent assistance with powershell script - exchange

Avatar of siber1
siber1 asked on
5 Comments1 Solution17 ViewsLast Modified:
can someone help us with this script, here is the situation, we have on premise exchange 2010 and have migrated a few hundred mailboxes to 365, this has converted the on premise mailbox, into a "remote mailbox" object.

we need to add an additional proxy address to a few hundred of these. here is the script that works fine when run against Exchange on premise mailboxes, how can we modify this to run against the "remote mailbox" object that now exists:

Import-Csv alias-add-var-gen1.csv | % {
  Get-Mailbox $_.SMTP | Set-Mailbox -emailAddresses @($user.emailAddresses)+$_.newsmtp
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros