{"id":1364,"date":"2017-09-15T09:13:28","date_gmt":"2017-09-15T14:13:28","guid":{"rendered":"https:\/\/it.thelibrarie.com\/weblog\/?p=1364"},"modified":"2017-09-15T09:13:28","modified_gmt":"2017-09-15T14:13:28","slug":"list-all-exchange-mailboxes-associated-with-disabled-users","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2017\/09\/list-all-exchange-mailboxes-associated-with-disabled-users\/","title":{"rendered":"List All Exchange Mailboxes Associated with Disabled Users"},"content":{"rendered":"<p>I recently went through and disabled a ton of users that hadn&#8217;t logged into AD for the last X number of days. And now I needed a report to show the number of mailboxes that were currently associated with disabled accounts.<\/p>\n<p>Exchange Powershell to the rescue<br \/>\n<code>Get-Mailbox -ResultSize Unlimited | ft -a Identity, UserAccountControl, ExchangeUserAccountControl, isLinked, isResource > c:\\temp\\disabled_mailboxen.txt<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently went through and disabled a ton of users that hadn&#8217;t logged into AD for the last X number of days. And now I needed a report to show the number of mailboxes that were currently associated with disabled accounts. Exchange Powershell to the rescue Get-Mailbox -ResultSize Unlimited | ft -a Identity, UserAccountControl, ExchangeUserAccountControl, &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2017\/09\/list-all-exchange-mailboxes-associated-with-disabled-users\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">List All Exchange Mailboxes Associated with Disabled Users<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-1364","post","type-post","status-publish","format-standard","hentry","category-microsoft"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=1364"}],"version-history":[{"count":1,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1364\/revisions"}],"predecessor-version":[{"id":1365,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1364\/revisions\/1365"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=1364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=1364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=1364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}