initial agent
This commit is contained in:
commit
b180bfee01
13
agents/plugins/sph-exchange-database-size.ps1
Normal file
13
agents/plugins/sph-exchange-database-size.ps1
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
||||||
|
#write-output "" # workaround to prevent the byte order mark to be at the
|
||||||
|
# beginning of the first section
|
||||||
|
##############################################################################
|
||||||
|
# Exchange 2010 : mail database size
|
||||||
|
# Author: Marius Pana
|
||||||
|
# Company: Spearhead Systems
|
||||||
|
# Date 12/23/14
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010
|
||||||
|
|
||||||
|
Get-MailboxDatabase -Status | Select-Object Name,DatabaseSize,AvailableNewMailboxSpace | Sort-Object Name
|
Loading…
Reference in New Issue
Block a user