WELCOME

2009年3月6日 星期五

PowerShell檢視所有使用者的信箱大小

c:\get-mailboxstatistics : select displayname, totalitemsize, totaldeleteditemsize, databasename : format-table

or

c:\Get-MailboxStatistics | Format-Table DisplayName, LastLoggedOnUserAccount, ItemCount, @{expression={$_.totalitemsize.value.ToMB()};label=”Size(MB)”}, LastLogonTime, LastLogoffTime

1 則留言: