{"id":108,"date":"2018-03-16T13:01:11","date_gmt":"2018-03-16T13:01:11","guid":{"rendered":"http:\/\/www.blog.mozesoft.com\/?p=108"},"modified":"2018-05-03T16:03:45","modified_gmt":"2018-05-03T16:03:45","slug":"office-365-exchange-online-archive-mailbox-size-reporting-with-powershell","status":"publish","type":"post","link":"https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/","title":{"rendered":"Office 365 (Exchange Online) Archive Mailbox Size Reporting with PowerShell"},"content":{"rendered":"<p>Here are some quick PowerShell commands to report on the size of the Office 365 (Exchange Online) Archive Mailbox size.<\/p>\n<p>Microsoft has this information published in the following KB: <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/gg576861(v=exchsrvcs.149).aspx\" rel=\"nofollow\">https:\/\/msdn.microsoft.com\/en-us\/library\/gg576861(v=exchsrvcs.149).aspx<\/a><\/p>\n<p>Open a connection to <a href=\"http:\/\/office365support.ca\/connecting-to-office365-with-powershell\/\" rel=\"nofollow\">Exchange Online with PowerShell<\/a>.<\/p>\n<p>The command below will get the display name, total archive size and total item count for a specified user:<\/p>\n<p><strong>Get-MailboxStatistics\u00a0&lt;Identity&gt;\u00a0-Archive |\u00a0Format-List\u00a0<\/strong><strong>DisplayName<\/strong><strong>,<\/strong><strong>TotalItemSize<\/strong><strong>,<\/strong><strong>ItemCount<\/strong><\/p>\n<p>The command below will get the get the display name, total archive size and total item count for all users and then out put the results to a CSV:<\/p>\n<p><strong>Get-Mailbox\u00a0-Archive\u00a0-ResultSize\u00a0Unlimited\u00a0|\u00a0Get-MailboxStatistics\u00a0-Archive\u00a0|\u00a0Select\u00a0<\/strong><strong>DisplayName,@{name=\u201cTotalItemSize (MB)\u201d;expression={<\/strong><strong>[<\/strong><strong>math]::Round(((<\/strong><strong>$_.TotalItemSize.Value.ToString()).Split(\u201c(\u201c)<\/strong><strong>[<\/strong><strong>1].Split(\u201d \u201c)<\/strong><strong>[<\/strong><strong>0].Replace(\u201c,\u201d,\u201c\u201d)\/1MB),2)}},ItemCount |\u00a0Sort \u201cTotalItemSize (MB)\u201d\u00a0-Descending\u00a0|\u00a0Export-Csv\u00a0\u201cC:\\Path\\FileName.csv\u201d\u00a0<\/strong><strong>-NoTypeInformation<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here are some quick PowerShell commands to report on the size of the Office 365 (Exchange Online) Archive Mailbox size. Microsoft has this information published in the following KB: https:\/\/msdn.microsoft.com\/en-us\/library\/gg576861(v=exchsrvcs.149).aspx Open a connection to Exchange Online with PowerShell. The command below will get the display name, total archive size and total item count for a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-108","post","type-post","status-publish","format-standard","hentry","category-office-365"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Office 365 (Exchange Online) Archive Mailbox Size Reporting with PowerShell - Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Office 365 (Exchange Online) Archive Mailbox Size Reporting with PowerShell - Blog\" \/>\n<meta property=\"og:description\" content=\"Here are some quick PowerShell commands to report on the size of the Office 365 (Exchange Online) Archive Mailbox size. Microsoft has this information published in the following KB: https:\/\/msdn.microsoft.com\/en-us\/library\/gg576861(v=exchsrvcs.149).aspx Open a connection to Exchange Online with PowerShell. The command below will get the display name, total archive size and total item count for a [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog\" \/>\n<meta property=\"article:published_time\" content=\"2018-03-16T13:01:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-05-03T16:03:45+00:00\" \/>\n<meta name=\"author\" content=\"Adsank\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Adsank\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/\"},\"author\":{\"name\":\"Adsank\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c\"},\"headline\":\"Office 365 (Exchange Online) Archive Mailbox Size Reporting with PowerShell\",\"datePublished\":\"2018-03-16T13:01:11+00:00\",\"dateModified\":\"2018-05-03T16:03:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/\"},\"wordCount\":144,\"commentCount\":0,\"articleSection\":[\"Office 365\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/\",\"url\":\"https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/\",\"name\":\"Office 365 (Exchange Online) Archive Mailbox Size Reporting with PowerShell - Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#website\"},\"datePublished\":\"2018-03-16T13:01:11+00:00\",\"dateModified\":\"2018-05-03T16:03:45+00:00\",\"author\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.mozesoft.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Office 365 (Exchange Online) Archive Mailbox Size Reporting with PowerShell\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#website\",\"url\":\"https:\/\/www.mozesoft.com\/blog\/\",\"name\":\"Blog\",\"description\":\"IT Knowledgebase\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.mozesoft.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c\",\"name\":\"Adsank\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/16e1b860aa1c6c11b188d686f734c33318307888d91fee8cd1550025f1c788a0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/16e1b860aa1c6c11b188d686f734c33318307888d91fee8cd1550025f1c788a0?s=96&d=mm&r=g\",\"caption\":\"Adsank\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Office 365 (Exchange Online) Archive Mailbox Size Reporting with PowerShell - Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/","og_locale":"en_US","og_type":"article","og_title":"Office 365 (Exchange Online) Archive Mailbox Size Reporting with PowerShell - Blog","og_description":"Here are some quick PowerShell commands to report on the size of the Office 365 (Exchange Online) Archive Mailbox size. Microsoft has this information published in the following KB: https:\/\/msdn.microsoft.com\/en-us\/library\/gg576861(v=exchsrvcs.149).aspx Open a connection to Exchange Online with PowerShell. The command below will get the display name, total archive size and total item count for a [&hellip;]","og_url":"https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/","og_site_name":"Blog","article_published_time":"2018-03-16T13:01:11+00:00","article_modified_time":"2018-05-03T16:03:45+00:00","author":"Adsank","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Adsank","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/#article","isPartOf":{"@id":"https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/"},"author":{"name":"Adsank","@id":"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c"},"headline":"Office 365 (Exchange Online) Archive Mailbox Size Reporting with PowerShell","datePublished":"2018-03-16T13:01:11+00:00","dateModified":"2018-05-03T16:03:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/"},"wordCount":144,"commentCount":0,"articleSection":["Office 365"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/","url":"https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/","name":"Office 365 (Exchange Online) Archive Mailbox Size Reporting with PowerShell - Blog","isPartOf":{"@id":"https:\/\/www.mozesoft.com\/blog\/#website"},"datePublished":"2018-03-16T13:01:11+00:00","dateModified":"2018-05-03T16:03:45+00:00","author":{"@id":"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c"},"breadcrumb":{"@id":"https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.mozesoft.com\/blog\/office-365-exchange-online-archive-mailbox-size-reporting-with-powershell\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.mozesoft.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Office 365 (Exchange Online) Archive Mailbox Size Reporting with PowerShell"}]},{"@type":"WebSite","@id":"https:\/\/www.mozesoft.com\/blog\/#website","url":"https:\/\/www.mozesoft.com\/blog\/","name":"Blog","description":"IT Knowledgebase","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mozesoft.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/79fc1ff8cfa9fe3f16bedffefc53359c","name":"Adsank","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mozesoft.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/16e1b860aa1c6c11b188d686f734c33318307888d91fee8cd1550025f1c788a0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/16e1b860aa1c6c11b188d686f734c33318307888d91fee8cd1550025f1c788a0?s=96&d=mm&r=g","caption":"Adsank"}}]}},"_links":{"self":[{"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/posts\/108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/comments?post=108"}],"version-history":[{"count":1,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/posts\/108\/revisions"}],"predecessor-version":[{"id":109,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/posts\/108\/revisions\/109"}],"wp:attachment":[{"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/media?parent=108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/categories?post=108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mozesoft.com\/blog\/wp-json\/wp\/v2\/tags?post=108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}