{"id":385,"date":"2022-08-23T12:19:05","date_gmt":"2022-08-23T11:19:05","guid":{"rendered":"https:\/\/www.davidirwin.co.uk\/?p=385"},"modified":"2022-08-23T12:19:47","modified_gmt":"2022-08-23T11:19:47","slug":"check-size-and-status-of-archive-mailbox-using-powershell","status":"publish","type":"post","link":"https:\/\/www.davidirwin.co.uk\/index.php\/2022\/08\/23\/check-size-and-status-of-archive-mailbox-using-powershell\/","title":{"rendered":"Check Size and Status of Archive Mailbox using PowerShell"},"content":{"rendered":"<header class=\"entry-header\" aria-label=\"Content\">\n<h1 class=\"entry-title\">Check Size and Status of Archive Mailbox using PowerShell<\/h1>\n<\/header>\n<div class=\"entry-content\">\n<p>Archive mailbox (<strong>Online or In-Place Archive<\/strong>) in Office 365 provides users with additional mailbox storage space. Once the archive feature is enabled for a mailbox, the mailbox user can easily copy or move the required messages to the\u00a0<strong>Online Archive<\/strong>\u00a0folder group in Outlook Desktop and\u00a0<strong>In-Place Archive<\/strong>\u00a0in Outlook Online.<\/p>\n<p>In this post, I am going to share a PowerShell script to get the size and status of Exchange Online Archive mailboxes. If you looking to find users\u2019 primary mailbox storage size, refer to this post:\u00a0<a href=\"https:\/\/morgantechspace.com\/2016\/10\/check-mailbox-size-and-usage-report-powershell.html\" target=\"_blank\" rel=\"noreferrer noopener\">Mailbox size report<\/a>.<\/p>\n<p>We can use the\u00a0<strong>Get-Mailbox<\/strong>\u00a0cmdlet to check the archive feature is enabled or not in a mailbox. Once we confirmed the archive status enabled, we can use\u00a0<strong>Get-MailboxStatistics<\/strong>\u00a0to get the archive mailbox size, and other mailbox related statistics data. Before proceeding,\u00a0<strong><a href=\"https:\/\/docs.microsoft.com\/en-us\/powershell\/exchange\/exchange-online-powershell-v2?view=exchange-ps#install-the-exo-v2-module\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">install the Exchange Online PowerShell V2<\/a><\/strong>\u00a0module and run the below command to connect Exchange Online Powershell.<\/p>\n<div class=\"wp-block-syntaxhighlighter-code \">\n<div>\n<div id=\"highlighter_338883\" class=\"syntaxhighlighter powershell\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\">\n<div class=\"codecolorer-container text default powershell functions\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">Connect-ExchangeOnline<\/div><\/div>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<p>Run the following command to check the archive status for a mailbox. The property\u00a0<strong>ArchiveStatus<\/strong>\u00a0indicates the status of the archive mailbox, the value \u201c<strong>Active<\/strong>\u201d means the mailbox has an active archive mailbox.<\/p>\n<div class=\"wp-block-syntaxhighlighter-code \">\n<div>\n<div id=\"highlighter_324066\" class=\"syntaxhighlighter powershell\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\">\n<div class=\"codecolorer-container text default powershell functions\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">Get-Mailbox<\/div><\/div>\n<div class=\"codecolorer-container text default powershell color1\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">-Identity<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">AlexW\u00a0 | Select ArchiveStatus, ArchiveDatabase<\/div><\/div>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<p>As per\u00a0<strong><a href=\"https:\/\/docs.microsoft.com\/en-us\/office365\/troubleshoot\/archive-mailboxes\/archivestatus-set-none\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">this post<\/a><\/strong>, there may be a chance ArchiveStatus is set to \u201c<strong>None<\/strong>\u201d for an active archive mailbox in Office 365, so we can also check the property is\u00a0<strong>ArchiveDatabase<\/strong>, if this property has any value then the mailbox has an active archive mailbox.<\/p>\n<p>Once you confirmed the archive status for the mailbox, run the following command to get the size and archived items count.<\/p>\n<div class=\"wp-block-syntaxhighlighter-code \">\n<div>\n<div id=\"highlighter_259502\" class=\"syntaxhighlighter powershell\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\">\n<div class=\"codecolorer-container text default powershell functions\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">Get-MailboxStatistics<\/div><\/div>\n<div class=\"codecolorer-container text default powershell color1\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">-Identity<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">AlexW<\/div><\/div>\n<div class=\"codecolorer-container text default powershell color1\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">-Archive<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">| Select DisplayName, TotalItemSize, ItemCount<\/div><\/div>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<p>The parameter\u00a0<strong>-Archive<\/strong>\u00a0is the key input to get the archive mailbox. If you have not provided this property, the command simply returns the user\u2019s primary mailbox statistics.<\/p>\n<h2>Find all Office 365 users with Active Archive Mailbox<\/h2>\n<p>Run the below command to list all the Office 365 users with archive mailbox.<\/p>\n<div class=\"wp-block-syntaxhighlighter-code \">\n<div>\n<div id=\"highlighter_309769\" class=\"syntaxhighlighter powershell\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\">\n<div class=\"codecolorer-container text default powershell functions\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">Get-Mailbox<\/div><\/div>\n<div class=\"codecolorer-container text default powershell color1\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">-Archive<\/div><\/div>\n<div class=\"codecolorer-container text default powershell color1\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">-ResultSize<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">Unlimited | Select DisplayName, ArchiveStatus<\/div><\/div>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<p>Instead of listing only archive mailboxes, if you want to get all mailboxes with their archive mailbox status, you can run the below command.<\/p>\n<div class=\"wp-block-syntaxhighlighter-code \">\n<div>\n<div id=\"highlighter_628654\" class=\"syntaxhighlighter powershell\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\">\n<div class=\"codecolorer-container text default powershell functions\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">Get-Mailbox<\/div><\/div>\n<div class=\"codecolorer-container text default powershell color1\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">-ResultSize<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">Unlimited\u00a0 | Select DisplayName, @{Label=<\/div><\/div>\n<div class=\"codecolorer-container text default powershell string\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">&quot;ArchiveStatus&quot;<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">;Expression={<\/div><\/div>\n<div class=\"codecolorer-container text default powershell keyword\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">if<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">(<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$_<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">.ArchiveStatus<\/div><\/div>\n<div class=\"codecolorer-container text default powershell operator value\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">-eq<\/div><\/div>\n<div class=\"codecolorer-container text default powershell string\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">&quot;Active&quot;<\/div><\/div>\n<div class=\"codecolorer-container text default powershell operator value\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">-OR<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$_<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">.ArchiveDatabase<\/div><\/div>\n<div class=\"codecolorer-container text default powershell operator value\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">-ne<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$null<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">) {<\/div><\/div>\n<div class=\"codecolorer-container text default powershell string\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">&quot;Enabled&quot;<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">}<\/div><\/div>\n<div class=\"codecolorer-container text default powershell keyword\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">else<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">{\u00a0<\/div><\/div>\n<div class=\"codecolorer-container text default powershell string\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">&quot;Disabled&quot;<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">}}}<\/div><\/div>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<h2><strong>Export Size and Status of Archive Mailbox for all Microsoft 365 users<\/strong><\/h2>\n<p>Run the below Powershell script to get the archive status of all user mailboxes and export archive mailbox details such as archive status, archive state, mailbox size, and more.<\/p>\n<div class=\"wp-block-syntaxhighlighter-code \">\n<div>\n<div id=\"highlighter_990397\" class=\"syntaxhighlighter powershell\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<div class=\"line number2 index1 alt1\">2<\/div>\n<div class=\"line number3 index2 alt2\">3<\/div>\n<div class=\"line number4 index3 alt1\">4<\/div>\n<div class=\"line number5 index4 alt2\">5<\/div>\n<div class=\"line number6 index5 alt1\">6<\/div>\n<div class=\"line number7 index6 alt2\">7<\/div>\n<div class=\"line number8 index7 alt1\">8<\/div>\n<div class=\"line number9 index8 alt2\">9<\/div>\n<div class=\"line number10 index9 alt1\">10<\/div>\n<div class=\"line number11 index10 alt2\">11<\/div>\n<div class=\"line number12 index11 alt1\">12<\/div>\n<div class=\"line number13 index12 alt2\">13<\/div>\n<div class=\"line number14 index13 alt1\">14<\/div>\n<div class=\"line number15 index14 alt2\">15<\/div>\n<div class=\"line number16 index15 alt1\">16<\/div>\n<div class=\"line number17 index16 alt2\">17<\/div>\n<div class=\"line number18 index17 alt1\">18<\/div>\n<div class=\"line number19 index18 alt2\">19<\/div>\n<div class=\"line number20 index19 alt1\">20<\/div>\n<div class=\"line number21 index20 alt2\">21<\/div>\n<div class=\"line number22 index21 alt1\">22<\/div>\n<div class=\"line number23 index22 alt2\">23<\/div>\n<div class=\"line number24 index23 alt1\">24<\/div>\n<div class=\"line number25 index24 alt2\">25<\/div>\n<div class=\"line number26 index25 alt1\">26<\/div>\n<div class=\"line number27 index26 alt2\">27<\/div>\n<div class=\"line number28 index27 alt1\">28<\/div>\n<div class=\"line number29 index28 alt2\">29<\/div>\n<div class=\"line number30 index29 alt1\">30<\/div>\n<div class=\"line number31 index30 alt2\">31<\/div>\n<div class=\"line number32 index31 alt1\">32<\/div>\n<div class=\"line number33 index32 alt2\">33<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\">\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$Result<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">=@()<\/div><\/div>\n<\/div>\n<div class=\"line number2 index1 alt1\">\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$mailboxes<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">=<\/div><\/div>\n<div class=\"codecolorer-container text default powershell functions\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">Get-Mailbox<\/div><\/div>\n<div class=\"codecolorer-container text default powershell color1\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">-ResultSize<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">Unlimited<\/div><\/div>\n<\/div>\n<div class=\"line number3 index2 alt2\">\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$totalmbx<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">=<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$mailboxes<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">.Count<\/div><\/div>\n<\/div>\n<div class=\"line number4 index3 alt1\">\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$i<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">= 1<\/div><\/div>\n<\/div>\n<div class=\"line number5 index4 alt2\">\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$mailboxes<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">|<\/div><\/div>\n<div class=\"codecolorer-container text default powershell functions\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">ForEach-Object<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">{<\/div><\/div>\n<\/div>\n<div class=\"line number6 index5 alt1\">\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$i<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">++<\/div><\/div>\n<\/div>\n<div class=\"line number7 index6 alt2\">\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$mbx<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">=<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$_<\/div><\/div>\n<\/div>\n<div class=\"line number8 index7 alt1\">\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$size<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">=<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$null<\/div><\/div>\n<\/div>\n<div class=\"line number9 index8 alt2\"><\/div>\n<div class=\"line number10 index9 alt1\">\n<div class=\"codecolorer-container text default powershell functions\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">Write-Progress<\/div><\/div>\n<div class=\"codecolorer-container text default powershell color1\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">-activity<\/div><\/div>\n<div class=\"codecolorer-container text default powershell string\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">&quot;Processing $mbx&quot;<\/div><\/div>\n<div class=\"codecolorer-container text default powershell color1\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">-status<\/div><\/div>\n<div class=\"codecolorer-container text default powershell string\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">&quot;$i out of $totalmbx completed&quot;<\/div><\/div>\n<\/div>\n<div class=\"line number11 index10 alt2\"><\/div>\n<div class=\"line number12 index11 alt1\">\n<div class=\"codecolorer-container text default powershell keyword\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">if<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">(<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$mbx<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">.ArchiveStatus<\/div><\/div>\n<div class=\"codecolorer-container text default powershell operator value\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">-eq<\/div><\/div>\n<div class=\"codecolorer-container text default powershell string\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">&quot;Active&quot;<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">){<\/div><\/div>\n<\/div>\n<div class=\"line number13 index12 alt2\">\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$mbs<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">=<\/div><\/div>\n<div class=\"codecolorer-container text default powershell functions\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">Get-MailboxStatistics<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$mbx<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">.UserPrincipalName<\/div><\/div>\n<\/div>\n<div class=\"line number14 index13 alt1\"><\/div>\n<div class=\"line number15 index14 alt2\">\n<div class=\"codecolorer-container text default powershell keyword\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">if<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">(<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$mbs<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">.TotalItemSize<\/div><\/div>\n<div class=\"codecolorer-container text default powershell operator value\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">-ne<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$null<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">){<\/div><\/div>\n<\/div>\n<div class=\"line number16 index15 alt1\">\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$size<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">=<\/div><\/div>\n<div class=\"codecolorer-container text default powershell constants\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">[math]<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">::Round((<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$mbs<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">.TotalItemSize.ToString().Split(<\/div><\/div>\n<div class=\"codecolorer-container text default powershell string single\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">'('<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">)[1].Split(<\/div><\/div>\n<div class=\"codecolorer-container text default powershell string single\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">' '<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">)[0].Replace(<\/div><\/div>\n<div class=\"codecolorer-container text default powershell string single\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">','<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">,<\/div><\/div>\n<div class=\"codecolorer-container text default powershell string single\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">''<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">)\/1MB),2)<\/div><\/div>\n<\/div>\n<div class=\"line number17 index16 alt2\">\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">}<\/div><\/div>\n<div class=\"codecolorer-container text default powershell keyword\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">else<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">{<\/div><\/div>\n<\/div>\n<div class=\"line number18 index17 alt1\">\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$size<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">= 0 }<\/div><\/div>\n<\/div>\n<div class=\"line number19 index18 alt2\">\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">}<\/div><\/div>\n<\/div>\n<div class=\"line number20 index19 alt1\"><\/div>\n<div class=\"line number21 index20 alt2\">\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$Result<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">+=<\/div><\/div>\n<div class=\"codecolorer-container text default powershell functions\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">New-Object<\/div><\/div>\n<div class=\"codecolorer-container text default powershell color1\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">-TypeName<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">PSObject<\/div><\/div>\n<div class=\"codecolorer-container text default powershell color1\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">-Property<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$(<\/div><\/div>\n<div class=\"codecolorer-container text default powershell constants\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">[ordered]<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">@{<\/div><\/div>\n<\/div>\n<div class=\"line number22 index21 alt1\">\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">UserName =<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$mbx<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">.DisplayName<\/div><\/div>\n<\/div>\n<div class=\"line number23 index22 alt2\">\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">UserPrincipalName =<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$mbx<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">.UserPrincipalName<\/div><\/div>\n<\/div>\n<div class=\"line number24 index23 alt1\">\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">ArchiveStatus =<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$mbx<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">.ArchiveStatus<\/div><\/div>\n<\/div>\n<div class=\"line number25 index24 alt2\">\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">ArchiveName =<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$mbx<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">.ArchiveName<\/div><\/div>\n<\/div>\n<div class=\"line number26 index25 alt1\">\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">ArchiveState =<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$mbx<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">.ArchiveState<\/div><\/div>\n<\/div>\n<div class=\"line number27 index26 alt2\">\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">ArchiveMailboxSizeInMB =<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$size<\/div><\/div>\n<\/div>\n<div class=\"line number28 index27 alt1\">\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">ArchiveWarningQuota=<\/div><\/div>\n<div class=\"codecolorer-container text default powershell keyword\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">if<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">(<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$mbx<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">.ArchiveStatus<\/div><\/div>\n<div class=\"codecolorer-container text default powershell operator value\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">-eq<\/div><\/div>\n<div class=\"codecolorer-container text default powershell string\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">&quot;Active&quot;<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">) {<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$mbx<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">.ArchiveWarningQuota}<\/div><\/div>\n<div class=\"codecolorer-container text default powershell keyword\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">Else<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">{<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$null<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">}<\/div><\/div>\n<\/div>\n<div class=\"line number29 index28 alt2\">\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">ArchiveQuota =<\/div><\/div>\n<div class=\"codecolorer-container text default powershell keyword\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">if<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">(<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$mbx<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">.ArchiveStatus<\/div><\/div>\n<div class=\"codecolorer-container text default powershell operator value\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">-eq<\/div><\/div>\n<div class=\"codecolorer-container text default powershell string\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">&quot;Active&quot;<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">) {<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$mbx<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">.ArchiveQuota}<\/div><\/div>\n<div class=\"codecolorer-container text default powershell keyword\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">Else<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">{<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$null<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">}<\/div><\/div>\n<\/div>\n<div class=\"line number30 index29 alt1\">\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">AutoExpandingArchiveEnabled=<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$mbx<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">.AutoExpandingArchiveEnabled<\/div><\/div>\n<\/div>\n<div class=\"line number31 index30 alt2\">\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">})<\/div><\/div>\n<\/div>\n<div class=\"line number32 index31 alt1\">\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">}<\/div><\/div>\n<\/div>\n<div class=\"line number33 index32 alt2\">\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$Result<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">|<\/div><\/div>\n<div class=\"codecolorer-container text default powershell functions\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">Export-CSV<\/div><\/div>\n<div class=\"codecolorer-container text default powershell string\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">&quot;C:\\Archive-Mailbox-Report.csv&quot;<\/div><\/div>\n<div class=\"codecolorer-container text default powershell color1\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">-NoTypeInformation<\/div><\/div>\n<div class=\"codecolorer-container text default powershell color1\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">-Encoding<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">UTF8<\/div><\/div>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<p>Once you successfully run the above script, the output will be available in the Powershell object\u00a0<strong>$Result<\/strong>. You can just filter the $Result array with\u00a0<strong>Where-Object<\/strong>\u00a0to generate further reports from this object. For example, run the below command to get details for the only archive enabled mailboxes.<\/p>\n<div class=\"wp-block-syntaxhighlighter-code \">\n<div>\n<div id=\"highlighter_895793\" class=\"syntaxhighlighter powershell\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\">\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$Result<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">|<\/div><\/div>\n<div class=\"codecolorer-container text default powershell functions\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">Where-Object<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">{<\/div><\/div>\n<div class=\"codecolorer-container text default powershell variable\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">$_<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">.ArchiveStatus<\/div><\/div>\n<div class=\"codecolorer-container text default powershell operator value\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">-eq<\/div><\/div>\n<div class=\"codecolorer-container text default powershell string\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">&quot;Active&quot;<\/div><\/div>\n<div class=\"codecolorer-container text default powershell plain\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">} | Select UserName, UserPrincipalName, ArchiveMailboxSizeInMB, ArchiveWarningQuota, ArchiveQuota<\/div><\/div>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<blockquote class=\"wp-embedded-content\" data-secret=\"MQs1DmqwhK\"><p><a href=\"https:\/\/morgantechspace.com\/2021\/01\/check-size-and-status-of-archive-mailbox-powershell.html\">Check Size and Status of Archive Mailbox using PowerShell<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Check Size and Status of Archive Mailbox using PowerShell&#8221; &#8212; MorganTechSpace\" src=\"https:\/\/morgantechspace.com\/2021\/01\/check-size-and-status-of-archive-mailbox-powershell.html\/embed#?secret=DE6KgS3teR#?secret=MQs1DmqwhK\" data-secret=\"MQs1DmqwhK\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Check Size and Status of Archive Mailbox using PowerShell Archive mailbox (Online or In-Place Archive) in Office 365 provides users with additional mailbox storage space. Once the archive feature is enabled for a mailbox, the mailbox user can easily copy or move the required messages to the\u00a0Online Archive\u00a0folder group in Outlook Desktop and\u00a0In-Place Archive\u00a0in Outlook [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-385","post","type-post","status-publish","format-standard","hentry","category-office-365"],"_links":{"self":[{"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/385","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=385"}],"version-history":[{"count":3,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/385\/revisions"}],"predecessor-version":[{"id":388,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/385\/revisions\/388"}],"wp:attachment":[{"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}