Category Archives: Exchange 2007 Powershell commands and scripts

Exchange powershell script to collect free space from event 1221 and dump to csv if greater and 1GB

#Script will poll all exchange servers and pull out data from event 1221 and place in a .csv file if greater than 1GB #Check to see if csv exists and if so remove it If (Test-Path “FreeSpaceGreaterThan1GB.csv”) { Remove-Item “FreeSpaceGreaterThan1GB.csv” … Continue reading

Posted in Exchange 2007 Powershell commands and scripts | 1 Comment

Exchange Powershell script for mailbox statistics via email

The below powershell script will get the size and item count of each Exchange mailbox and send a .txt file via email to the configured recipient. ###Send mailbox statistics script ###Now get the stats and store in a text file … Continue reading

Posted in Exchange 2007 Powershell commands and scripts | Leave a comment