EXchange 2007 Install and Configure Notes

October 17, 2007

Let’s Provision Exchange 2007 in 15 minutes or 4-Steps

Filed under: EXchange, MgmtShell — Preetam @ 5:35 am

 Before I begin, let me tell you that this is done for provisioning Exchange 2007 server for test labs. But idea can be easily extended and customized by Production provisioning in same time…Maximum 15 minutes. I’m won’t be surprise if someone can do all these things in one step. But then I’m happy with 15 mins.

Step first

1. Create OU

You can review and download code from here

Screen shot is below

ScreenShot004

2. Create Users

you can review and download code from here

BulkUser-SampleCSVFile

ScreenShot005

3. Create Storage group. Then create database and mount it. All in one step

you can review and download code from here

ScreenShot006

4. Enable Mailbox for choice of yours Mailbox database

you can review and download code from here

ScreenShot007

For creating of active directory you would like to refer my http://techstarts.wordpress.com/category/active-directory/

I was inspired to do write the blog by Evan from Microsoft http://blogs.technet.com/evand/. Many Thanks to him.

Advertisements

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

 

 

October 4, 2007

List of EMS Commands

Filed under: EXchange, MgmtShell — Preetam @ 12:07 pm
Remove-AcceptedDomain
New-AcceptedDomain

You can see all EXchange commands by using get-excommand. note that there is no tab completion available for this command. Majority of exchange command starts with

  • Enable-
  • Remove-
  • Set-
  • get-
  • remove-
Set-AcceptedDomain
Get-AcceptedDomain

So what if you don’t how to use it and not smart enough to figure out help, no problem. see quick use of get-help

ScreenShot002

Blog at WordPress.com.