您好,登錄后才能下訂單哦!
1、Get-Mailbox
office365 get-mailbox -identity temp
2、現在讓我們將上面的命令傳遞給Get-MailboxStatistics cmdlet。類型:
Get-Mailbox -Identity username | GET-MailboxStatistics
3、Get-Help Get-MailboxStatistics
4、Get-Mailbox -Identity username | Get-MailboxStatistics | fl
5、Get-Mailbox -Identity Temp | Get-MailboxStatistics | Format-Table DisplayName, TotalItemSize, ItemCount -Autosize
6、Get-Mailbox | Get-MailboxStatistics | Format-Table DisplayName, TotalItemSize, ItemCount -Autosize
7、Get-Mailbox | Get-MailboxStatistics | Select DisplayName, TotalItemSize, ItemCount | Sort ItemCount -Descending
8、Get-Mailbox -Identity Temp | Get-MailboxStatistics | Format-Table DisplayName, @{name=”TotalItemSize (GB)”;expression={[math]::Round((($_.TotalItemSize.Value.ToString()).Split(“(“)[1].Split(” “)[0].Replace(“,”,””)/1GB),2)}},ItemCount
9、
Get-Mailbox | Get-MailboxStatistics | Select-Object DisplayName, @{name=”TotalItemSize (GB)”;expression={[math]::Round((($_.TotalItemSize.Value.ToString()).Split(“(“)[1].Split(” “)[0].Replace(“,”,””)/1GB),2)}},ItemCount | Sort “TotalItemSize (GB)” -Descending
10、導出CSVGet-Mailbox | Get-MailboxStatistics | Select-Object DisplayName, @{name="TotalItemSize (GB)";expression={[math]::Round((($_.TotalItemSize.Value.ToString()).Split(“(“)[1].Split(” “)[0].Replace(“,”,””)/1GB),2)}},ItemCount | Sort “TotalItemSize (GB)” -Descending | Export-CSV c:\temp\Office365-MailboxSize-Report.csv
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。