Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 416
  • Last Modified:

office 365 powershell question

hello, I need to remove a domain name from one tenant and add that domain name to another tenant.

in order to do this, I need to remove all email addresses associated with that domain name on the first tenant account.

does someone have a powershell script that will accomplish this?

many thanks!

S.
0
siber1
Asked:
siber1
1 Solution
 
Will SzymkowskiSenior Solution ArchitectCommented:
Are you talking about Accepted Domains and Email address policies? If you are then you do not need a powershell script to accomplish this. Simply update the email address policy as needed, apply the new email address policy to all of the users, remove the accepted domain in Exchange Management Console.

Will.
0
 
siber1Author Commented:
you realize that i'm asking about o365 right?
0

Featured Post

Who's Defending Your Organization from Threats?

Protecting against advanced threats requires an IT dream team – a well-oiled machine of people and solutions working together to defend your organization. Download our resource kit today to learn more about the tools you need to build you IT Dream Team!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now