Get more specific information from Exchange Server PowerShell

when you need specific information, you shouldn’t spend more time to find out what you need rather than fighting in unnecessary information.

Get-Mailbox |fl will give you all attributes about particular object. When you run this command, you will be given hundreds of information.

let’s get what we need

– Get-Mailbox “Sonat YAYLALI” | select name, Servername, Database

 

Name                                    ServerName                              Database
—-                                           ———-                                   ——–
Sonat YAYLALI                         Server1                                      DB1

 

Get-Mailbox “Sonat YAYLALI” | select Name, Servername, Database |export-csv –Path c:user.csv

image

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: