Difference between revisions of "Powershell Commands"
From GWAVA Technologies Training
(Created page with "Useful Powershell commands A quick overview of users and how many items they have in their mailbox Get-Mailbox | Get-MailboxStatistics For more detail add the | FL") |
|||
Line 1: | Line 1: | ||
Useful Powershell commands | Useful Powershell commands | ||
+ | <code> | ||
+ | |||
+ | </code> | ||
+ | |||
A quick overview of users and how many items they have in their mailbox | A quick overview of users and how many items they have in their mailbox | ||
+ | <code> | ||
Get-Mailbox | Get-MailboxStatistics | Get-Mailbox | Get-MailboxStatistics | ||
+ | </code> | ||
− | For more detail add | + | For more detail add "| FL" but it would be best to pipe to a file |
+ | <code> | ||
+ | Get-Mailbox | Get-MailboxStatistics | FL > c:\stats.txt | ||
+ | </code> |
Revision as of 19:35, 6 October 2015
Useful Powershell commands
A quick overview of users and how many items they have in their mailbox
Get-Mailbox | Get-MailboxStatistics
For more detail add "| FL" but it would be best to pipe to a file
Get-Mailbox | Get-MailboxStatistics | FL > c:\stats.txt