Ask Question Forum:
Model Library:2025-02-08:A.I. model is online auto reply
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by jskfan
at 2024-11-29 19:53:06
Point:500 Replies:6 POST_ID:828847USER_ID:11761
Topic:
Exchange Email Server;;Outlook Groupware Software
I am looking for a powershell command that will display all mailboxes in all servers databases and sort them by size, from the larger size to smaller size.
I know that this can be done by dumping the output to Excel file then using Excel to sort them put.
I wonder if there is powershell combination command that can achieve the same thing.
Thank you
I know that this can be done by dumping the output to Excel file then using Excel to sort them put.
I wonder if there is powershell combination command that can achieve the same thing.
Thank you
Author: jskfan replied at 2024-12-03 11:52:04
Excellent!!
Thank you
Thank you
Accepted Solution
Expert: Will Szymkowski replied at 2024-12-02 16:17:04
400 points EXCELLENT
Yes... Use the following command below...
get-mailbox -ResultSize "unlimited" | Get-MailboxStatistics | sort -Property TotalItemSize | se
lect Displayname, TotalItemSize, TotalDeletedItemSize | out-file "c:mailboxstats.txt"
Will.
get-mailbox -ResultSize "unlimited" | Get-MailboxStatistics | sort -Property TotalItemSize | se
lect Displayname, TotalItemSize, TotalDeletedItemSize | out-file "c:mailboxstats.txt"
Will.
Author: jskfan replied at 2024-12-02 16:15:13
get-mailbox -ResultSize "unlimited" | Get-MailboxStatistics | sort -Property TotalItemSize | se
lect Displayname, TotalItemSize, TotalDeletedItemSize
This worked...is there a switch to add to dump the output into a text file ?
Thank you
lect Displayname, TotalItemSize, TotalDeletedItemSize
This worked...is there a switch to add to dump the output into a text file ?
Thank you
Expert: Will Szymkowski replied at 2024-12-01 05:14:26
Use the following command below to accomplish this...
get-mailbox -ResultSize "unlimited" | Get-MailboxStatistics | sort -Property TotalItemSize | select Displayname, TotalItemSize, TotalDeletedItemSize 1:2:
Will.
Assisted Solution
Expert: PeteLong replied at 2024-11-30 03:50:34
50 points EXCELLENT
Assisted Solution
Expert: duncanb7 replied at 2024-11-29 20:20:04
50 points EXCELLENT
Did you read those related articles before that might help on your issue ?
http://exchangeserverpro.com/powershell-tip-get-list-top-exchange-server-mailboxes-size/
http://www.petri.co.il/create-exchange-2010-mailbox-size-reports-powershell.htm
Hope understand your question completely, if not please point it out
Duncan
http://exchangeserverpro.com/powershell-tip-get-list-top-exchange-server-mailboxes-size/
http://www.petri.co.il/create-exchange-2010-mailbox-size-reports-powershell.htm
Hope understand your question completely, if not please point it out
Duncan