VBScript or Powershell that will return the Exchange 2007 and 2010 Datastore size(s) and individual mailbox sizes to a csv file.
Datastore size to be "total" size of the Information Store , and therefore be the size of the sum of all messages , logs and attachments.
E.g In Exch-2003 this would have been EDB size + Log Sizes + STM sizes
Output file to be CSV
The Script must accept as input paramemters :
1) Path to output file location
2) Name of output file
3) Any Local or Domain Admin credentials required to access the Exchange information
Ideally the script will auto create any credentials or group memberships required that will allow the script to be run dynamically against any Exchange server
The Program must run silently in the background and not use any forms , messages , pop-ups or user input.
Any input required must be passed to the application as parameters at run time
The program once developed must run without the need for any specific installation.
I.e it should be able to run simply but copying the program to the target machine and executing