• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 273
  • Last Modified:

Gather info from Exchange 2003 information stores

I have an Exchange 2003 server with 8 information stores.

I'm looking for a script that will list all the information stores, how big each one is (i.e. 75GB) and how much free space is availabe in each one in an excel document.

Can anyone help?  I'm sure they are out there, I just can't seem to find anything.

1 Solution
Luciano PatrãoICT Senior Infraestructure  Engineer  Commented:
Robberbaron (robr)Commented:
1/ the last link shows a powershell method similar to what i used to use. it searches the event log for the correct event and then extracts the data.  (Appear to have lost my old vbs script in the move to EX2010.)

2/ you can append to a CSV file using code from http://social.technet.microsoft.com/Forums/en-US/ITCG/thread/e38b802f-ca1f-44aa-8b75-3ab2d6650c35/

3/ But if you want to use excel to do formatting , graphing etc, (which i do to report on licence usage of a different application), then the best way I have found is as above (append to a CSV) but call up the csv file as a datasource within your xlxm file. That way the raw data just keeps getting appended , and the graphing etc refers to the same datasource without having to change the range definition each month or whatever your reporting period is.

Get-Eventlog -Logname Application | Where-Object {$_.Timegenerated -ge (Get-Date).AddDate(-1)} | Export-Csv Temp.csv -Encoding Unicode
[System.IO.File]::ReadAllText("Temp.csv") | Out-File Application_eventlog.csv -Append -Encoding Unicode

Open in new window

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now