Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exchange 2007 Report Power Shell

Status
Not open for further replies.

oyazo

MIS
Apr 14, 2008
47
PT
Hello All,

Kindly give me powers shell script that will generate the following report:

1: Exchange databases are mounted
2: Exchange Antivirus definitions are up to date
3: Backup ran successfully
4: Transaction log files truncated/replicated
5: Ensure SCR replication is successful
6: Check all SMTP queues
7: Check free space on logical disk
8: Verify Performance parameters
9: Disk queue length < 2
10: Processor utilization per server < 80%
11: Memory utilization free

Thank you.

Oyazo
 
I do not know when you installed exchange server but i have listed some post intallation commands that should be run using the powershell.

Run the Get-ExchangeServer cmdlet in the Exchange Management Shell to verify the installation. You should see a list of all Exchange 2007 server roles that are installed on the specified server.
* Examine the Application log for any error messages. Troubleshoot accordingly.
* Review the setup log files using the Get-SetupLog files command. Use the following commands to check the setup log files:
* Get-SetupLog c:\exchangesetuplogs\exchangesetup.log -error generates a list of only the errors and warnings logged during setup.
* Get-SetupLog c:\exchangesetuplogs\exchangesetup.log generates a list of all events logged during setup in a format that can be sorted or explored in the Exchange Management Shell.
* Get-SetupLog c:\exchangesetuplogs\exchangesetup.log -tree generates a list of all events logged during setup and presents the results in an indented tree format.
* Get-SetupLog c:\exchangesetuplogs\exchangesetup.log -error -tree generates a list of only the errors and warnings logged during setup and presents the results in an indented tree format.

Do not pray to have an easier life, pray to be a stronger man!!!

B.S. Computer Information Systems
Masters of Information Technology in Network Security
CompTIA A+, Network+, Security+
MCSE: Security 2003

MCITP: Exchange Server 2007 (Pending)
MCITP: Server 2008 (Pending)
MCTS: Windows Vista (Pending)
 
To be a little less confusing, I'll clean up the formatting a little of MITPRO's post

Run the
Code:
Get-ExchangeServer
cmdlet in the Exchange Management Shell to verify the installation. You should see a list of all Exchange 2007 server roles that are installed on the specified server.
* Examine the Application log for any error messages. Troubleshoot accordingly.
* Review the setup log files using the Get-SetupLog files command. Use the following commands to check the setup log files:
Code:
Get-SetupLog c:\exchangesetuplogs\exchangesetup.log -error
generates a list of only the errors and warnings logged during setup.
Code:
Get-SetupLog c:\exchangesetuplogs\exchangesetup.log
generates a list of all events logged during setup in a format that can be sorted or explored in the Exchange Management Shell.
Code:
Get-SetupLog c:\exchangesetuplogs\exchangesetup.log -tree
generates a list of all events logged during setup and presents the results in an indented tree format.
Code:
Get-SetupLog c:\exchangesetuplogs\exchangesetup.log -error -tree
generates a list of only the errors and warnings logged during setup and presents the results in an indented tree format.

Pat Richard
Microsoft Exchange MVP
Contributing author Microsoft Exchange Server 2007: The Complete Reference
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top