EXchange 2007 Install and Configure Notes

October 12, 2007

Mgmt Shell or EMS whatever you call ==>

Filed under: EXchange, MgmtShell — Preetam @ 3:07 pm

 

It is management shell or Exchange management shell, it nothing less than magic for anyone who will be responsible for exchange operations going forward exchange 2007 ==>

Get Exchange Related Services

Get-Service | Where{$_.name -like “msexchange*”} | sort-object status | Format-Table –Wrap

=====

Generally syntax to get help in powershell

get-help about -role *mailbox*

get-help *mailbox*

Get-command -name *mailbox

=====

Few command I came across could be helpful

Get-MailboxStatistics | Sort-Object totalitemsize -Descending | Select-Object -First 3

===== 

Basics of Powershell:

[PS] C:\Program Files\Support Tools>.\dcdiag.exe | where{$_ -like “*passed*”}

         ……………………. WS03R2EEEXCHLCS passed test Connectivity

         ……………………. WS03R2EEEXCHLCS passed test Replications

         ……………………. WS03R2EEEXCHLCS passed test NCSecDesc

         ……………………. WS03R2EEEXCHLCS passed test NetLogons

         ……………………. WS03R2EEEXCHLCS passed test Advertising

         ……………………. WS03R2EEEXCHLCS passed test KnowsOfRoleHolders

         ……………………. WS03R2EEEXCHLCS passed test RidManager

         ……………………. WS03R2EEEXCHLCS passed test MachineAccount

         ……………………. WS03R2EEEXCHLCS passed test Services

         ……………………. WS03R2EEEXCHLCS passed test ObjectsReplicated

         ……………………. WS03R2EEEXCHLCS passed test frssysvol

         ……………………. WS03R2EEEXCHLCS passed test frsevent

         ……………………. WS03R2EEEXCHLCS passed test kccevent

         ……………………. WS03R2EEEXCHLCS passed test systemlog

         ……………………. WS03R2EEEXCHLCS passed test VerifyReferences

         ……………………. ForestDnsZones passed test CrossRefValidation

         ……………………. ForestDnsZones passed test CheckSDRefDom

         ……………………. DomainDnsZones passed test CrossRefValidation

         ……………………. DomainDnsZones passed test CheckSDRefDom

         ……………………. Schema passed test CrossRefValidation

         ……………………. Schema passed test CheckSDRefDom

         ……………………. Configuration passed test CrossRefValidation

         ……………………. Configuration passed test CheckSDRefDom

         ……………………. contoso passed test CrossRefValidation

         ……………………. contoso passed test CheckSDRefDom

         ……………………. contoso.com passed test Intersite

         ……………………. contoso.com passed test FsmoCheck

 

$Netdiagresult=./netdiag

$Netdiagresult | where{$_ -like “*failed*” -or $_ -like “*skipped*”}

 

 

My old powershell blog is also present at http://techstarts.wordpress.com and I’m also blogging at http://vmzare.wordpress.com

 

 

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Create a free website or blog at WordPress.com.