Hi All,
I have Local site name. Based on I have to fetch all exchange server names and then iterate through all these exchange servers and get the following details from all the mailboxes available in theses exchange servers.
PrimarySmtpAddress
Database
ServerName
Name
DAGName
As of now to get the details I am doing the following things.
1. Using PSOBJECT Commands Fetching the local site name.
2. Using PSOBJECT Commands Fetching the exchange server name based on local site name.
3. Iterate through all exchangeservers and then getting mailboxes using PSOBJECT Commands.
These takes more time to fetch the mailboxes details.
I wanted to do all the above steps in one time.
Is there any PSOBJECT Powercell Command where I can put all the required information at a time to fetch the all the above details?
I mean to say in one PowerShell Invoke. So that I can save the manually iteration and fetching time.
Thanks & Regards,
Gopi Krishna
Thakur