X hits on this document

133 views

0 shares

0 downloads

0 comments

18 / 59

New Exchange Management Shell

Exchange 2003 (VBScript)

Exchange Server 2007 (“One-Liner”)

Set listExchange_Mailboxs =  GetObject("winmgmts:{impersonationLevel=impersonate}!\\COMPUTERNAME\ROOT\MicrosoftExchangeV2").InstancesOf("Exchange_Mailbox")

For Each objExchange_Mailbox in listExchange_Mailboxs

WScript.echo "AssocContentCount        =” + objExchange_Mailbox.AssocContentCount

WScript.echo " DateDiscoveredAbsentInDS =” + objExchange_Mailbox.DateDiscoveredAbsentInDS

WScript.echo " DeletedMessageSizeExtended =” + objExchange_Mailbox. DeletedMessageSizeExtended

WScript.echo " LastLoggedOnUserAccount =” + objExchange_Mailbox. LastLoggedOnUserAccount

WScript.echo " LastLogoffTime =” + objExchange_Mailbox. LastLogoffTime

WScript.echo " LastLogonTime            =” + objExchange_Mailbox. LastLogonTime            

WScript.echo " LegacyDN =” + objExchange_Mailbox. LegacyDN

WScript.echo " MailboxDisplayName =” + objExchange_Mailbox. MailboxDisplayName

WScript.echo " MailboxGUID              =” + objExchange_Mailbox. MailboxGUID              

WScript.echo " ServerName               =” + objExchange_Mailbox. ServerName               

WScript.echo " Size =” + objExchange_Mailbox. Size

WScript.echo " StorageGroupName         =” + objExchange_Mailbox. StorageGroupName        

WScript.echo " StorageLimitInfo         =” + objExchange_Mailbox. StorageLimitInfo        

WScript.echo " StoreName                =” + objExchange_Mailbox. StoreName               

WScript.echo " TotalItems               =” + objExchange_Mailbox. TotalItems              

   Next

get-mailboxstatistics

 –server $servername

Comparison – Exchange Server 2003 vs. Exchange Server 2007

Document info
Document views133
Page views133
Page last viewedSun Dec 04 06:23:15 UTC 2016
Pages59
Paragraphs656
Words2313

Comments