How to configure accepted domain using Power Shell on Exchange 2013

Previous article accepted domain has been explained and we learned how to manage it from GUI. This time we will do same thing using Power Shell. Let’s see how to add, get and remove domains

Getting Information

Get-accepteddomain

clip_image001

Adding accepted domain

New-AcceptedDomain –Name testlabs.com –DomainName testlabs.com –DomainType Authoritative

clip_image002

Now let’s gathering latest information about my all accepted domain

Get-accepteddomain

clip_image003

Ok let’s delete last domain name

Remove-accepteddomain -identity “Test Sonat”

clip_image004

One more time check my list

clip_image005

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: