Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
windows_wiki:powershell_exchange [2018/03/12 16:41] psycardis |
windows_wiki:powershell_exchange [2018/08/28 15:11] psycardis added mailbox count per database |
||
---|---|---|---|
Line 19: | Line 19: | ||
If you have exchange 2010+ you can use the following commands to set a mailbox to allow people with "Send As" Permissions to leave a copy of messages they send as the mailbox into the shared mailboxes sent items. | If you have exchange 2010+ you can use the following commands to set a mailbox to allow people with "Send As" Permissions to leave a copy of messages they send as the mailbox into the shared mailboxes sent items. | ||
* **Get current status** | * **Get current status** | ||
- | * * '' | + | * '' |
* **Send As: | * **Send As: | ||
- | * * '' | + | * '' |
* **Send On Behalf: | * **Send On Behalf: | ||
- | * * '' | + | * '' |
====View Whitespace in Mailbox Database==== | ====View Whitespace in Mailbox Database==== | ||
If you move mailboxes, or delete a mailboxes or a large number of items, Exchange does not shrink the mailbox database, and instead creates whitespace, or "New Mailbox Space" to check the size of this, to determine if an offline defrag is necessary, use the following command. | If you move mailboxes, or delete a mailboxes or a large number of items, Exchange does not shrink the mailbox database, and instead creates whitespace, or "New Mailbox Space" to check the size of this, to determine if an offline defrag is necessary, use the following command. | ||
- | * * '' | + | * '' |
+ | |||
+ | ====View Size and Whitespace in all Mailbox Databases==== | ||
+ | * '' | ||
====Get Details about Mailbox Move Requests==== | ====Get Details about Mailbox Move Requests==== | ||
- | * * '' | + | * '' |
====Generate Report of Mailbox Utilization==== | ====Generate Report of Mailbox Utilization==== | ||
- | Get-MailboxDatabase | Get-MailboxStatistics | Select DisplayName, | + | * '' |
+ | |||
+ | ====Count the Number of Mailboxes in Each Database==== | ||
+ | * '' |