Home | Troubleshooting |  Quick Setup  |  Cisco How to  |  Data Recovery  |  Forums   | Blog | IT Exam Practice | Services  | About Us | Chicagotech MVP  | Search  | Contact Us  |                  Laptop for rent: $35 per day plus $10 for additional day

rental
 

 

Exchange Management Shell Useful commands

 

To check accepted Domain setting
To import and sort CSV

 

To check accepted Domain setting

Use "Get-accepteddomain command, for example

 

[PS] C:\Windows\System32>Get-accepteddomain

Name DomainName DomainTy Default
pe
---- ---------- -------- -------
chicagotechnet.local chicagotechnet.local Autho... True
Windows SBS External Domain chicagotech.dyndns.org Autho... False

 

To import and sort CSV

Do you want to work with data that is contained in a CSV file? Use Import-CSV to
assign the data to an object. For example, type:

$MyCSV = Import-CSV TestFile.CSV

You can then manipulate the data easily in the Exchange Management Shell. For ex
ample, if there is a column called Mailboxes in the CSV data, you can use the fo
llowing commands to sort or group the data by the Mailboxes column:

To sort: $MyCSV | Sort Mailboxes
To group: $MyCSV | Group Mailboxes

 

Post your questions, comments, feedbacks and suggestions

Contact a consultant

Related Topics


 

 


 

 

Hit Counter   This web is provided "AS IS" with no warranties.
Copyright © 2002-2018 ChicagoTech.net, All rights reserved. Unauthorized reproduction forbidden.