mist
Goto Top

Postfachgröße Exchange-Konto

Guten Morgen,
ist es möglich, dass man bei einem Exchange-Userkonto (Exchange vom SBS 2011) die Postfachgröße der Unterordner zu ermitteln?
Hintergrund: Ich habe bei einigen Klients Archivpostfächer, wo ich per OWA auf diese Onlinearchive zugriff habe. Bei Outlook kann ich die Größen incl. Unterordner per rechte Maustaste auf das "normale" Konto sehen. Da ich nur Outlook Home/Business 2010 habe, kann ich leider mit Outlook nicht auf das Archiv-Postfach zugreifen. Das soll ja - wenn ich da nicht falsch liege - nur mit Office Pro. gehen.
Auf dem Exchange kann ich (mit meinem Wissen) auch nur die Gesamtgröße des Kontos sehen.
Get-MailboxStatistics -server SERVER | sort TotalItemSize | FT DisplayName,TotalItemSize 

Hat jemand einen Tipp? Bzw. geht das überhaupt?


Gruß
Michael

Content-Key: 226286

Url: https://administrator.de/contentid/226286

Printed on: April 18, 2024 at 14:04 o'clock

Member: tonyscooby
Solution tonyscooby Jan 10, 2014 updated at 11:17:56 (UTC)
Goto Top
Get-Mailbox | Get-MailboxFolderStatistics | Select Identity,FolderPath,FolderSize,ItemsInFolder | Sort-Object ItemsInFolder | fl | out-File C:\Mboxes.txt
Tip: to dump this data to an easy-to-sort csv file, change the last two cmdlets from " fl | out-file" to export-csv!

About the commands used:

Get-Mailbox -- returns a full list of all mailboxes in the system we're connected to
Get-MailboxFolderStatistics -- returns a full list of all folders for each identity that we pipe in from the Get-Mailbox cmdlet
Select nn -- this is a sorting and filtering cmdlet in powershell. We tell it what fields from Get-MailboxFolderStatistics we want to see and it spits them out
fl -- *full*listing, meaning that powershell will not shorten any strings
out-File -- print the output to a text file for analysis instead of to the screen
Member: MiSt
MiSt Jan 10, 2014 at 11:18:09 (UTC)
Goto Top
Zitat von @tonyscooby:

Get-Mailbox | Get-MailboxFolderStatistics | Select Identity,FolderPath,FolderSize,ItemsInFolder | Sort-Object ItemsInFolder | fl |
out-File C:\Mboxes.txt
Tip: to dump this data to an easy-to-sort csv file, change the last two cmdlets from " fl | out-file" to export-csv!

About the commands used:

Get-Mailbox -- returns a full list of all mailboxes in the system we're connected to
Get-MailboxFolderStatistics -- returns a full list of all folders for each identity that we pipe in from the Get-Mailbox cmdlet
Select nn -- this is a sorting and filtering cmdlet in powershell. We tell it what fields from Get-MailboxFolderStatistics we want
to see and it spits them out
fl -- *full*listing, meaning that powershell will not shorten any strings
out-File -- print the output to a text file for analysis instead of to the screen

perfekt...