Piyush
Piyush

Reputation: 33

Geting Organization name for a Exchange Server

I am having a environment made up of multiple exchange servers and they are split as 3 organizations. I am using Get-OrganizationConfig to get the list of Organizations. Then I am using command: Get-ExchangeServer to get list of all the exchange Servers. But I am not able to get which server belongs to which Organization. As per my understanding each server will belong to a organization. Can anyone tell me how can I find the Server-Organization mapping?

I want to do this using Powershell Commandlets. A single command or small scripts will also be fine.

Upvotes: 0

Views: 17504

Answers (1)

Shay Levy
Shay Levy

Reputation: 126842

When you execute the following command, do you get the organization name in the ExchangeLegacyDN property (/o=OrgName/ou=...)?

Get-ExchangeServer | select Name,ExchangeLegacyDN 

Upvotes: 1

Related Questions