troubleshooting Question

Need urgent assistance with powershell script - exchange

Avatar of siber1
siber1 asked on
PowershellExchange
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
}

Open in new window

ASKER CERTIFIED SOLUTION
FOX
Active Directory/Exchange Engineer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Top Expert 2015

The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
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