This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
exchange:reporting:wmi_vbscript [2009/12/18 09:49] ben created |
exchange:reporting:wmi_vbscript [2010/03/06 04:33] (current) ben |
||
---|---|---|---|
Line 81: | Line 81: | ||
For Each objExchange_Mailbox in listExchange_Mailboxes | For Each objExchange_Mailbox in listExchange_Mailboxes | ||
+ | 'Two things of note: | ||
+ | 'objExchange_Mailbox.LegacyDN | ||
+ | 'objExchange_Mailbox.MailboxDisplayName | ||
'Return the mailbox fields we want... | 'Return the mailbox fields we want... | ||
- | WScript.echo """" & objExchange_Mailbox.MailboxDisplayName & """,""" & objExchange_Mailbox.Size & """,""" & _ | + | WScript.echo """" & objExchange_Mailbox.LegacyDN & """,""" & objExchange_Mailbox.Size & """,""" & _ |
objExchange_Mailbox.LastLogonTime & """,""" & objExchange_Mailbox.ServerName & """,""" & _ | objExchange_Mailbox.LastLogonTime & """,""" & objExchange_Mailbox.ServerName & """,""" & _ | ||
objExchange_Mailbox.StorageGroupName & """,""" & _ | objExchange_Mailbox.StorageGroupName & """,""" & _ | ||
Line 99: | Line 102: | ||
End Function | End Function | ||
+ | |||
</code> | </code> |