{"id":318,"date":"2013-10-18T13:56:46","date_gmt":"2013-10-18T12:56:46","guid":{"rendered":"https:\/\/davidmichaelbrown.com\/?p=318"},"modified":"2013-10-18T13:56:46","modified_gmt":"2013-10-18T12:56:46","slug":"exchange-powershell","status":"publish","type":"post","link":"https:\/\/davidmichaelbrown.com\/?p=318","title":{"rendered":"Exchange Powershell"},"content":{"rendered":"\n<!-- Facebook Like Button v1.9.6 BEGIN [http:\/\/blog.bottomlessinc.com] -->\n<iframe src=\"http:\/\/www.facebook.com\/plugins\/like.php?href=https%3A%2F%2Fdavidmichaelbrown.com%2F%3Fp%3D318&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light\" scrolling=\"no\" frameborder=\"0\" allowTransparency=\"true\" style=\"border:none; overflow:hidden; width:450px; height: 30px; align: left; margin: 2px 0px 2px 0px\"><\/iframe>\n<!-- Facebook Like Button END -->\n<p>In recent months both myself and powershell are becoming best buds. I love the way how it makes my life so much easier. I&#8217;ve been asked by plenty of customers for a comprehensive list of mailboxes on their IT systems, you can find out by entering the following powershell command on Microsoft Exchange 2007, 2010 and 2013 servers:<\/p>\n<p><code>get-mailbox \u2013resultsize unlimited | get-mailboxstatistics | select-object DisplayName,TotalItemSize,LastLogonTime | Sort-Object DisplayName<\/code><\/p>\n<p>The above command will display a list of mailboxes sorted by the DisplayName field, the size of mailbox and when they last logged on.<\/p>\n<p>If you would like to output this to a text file to send to someone you can use:<\/p>\n<p><code>get-mailbox \u2013resultsize unlimited | get-mailboxstatistics | select-object DisplayName,TotalItemSize,LastLogonTime | Sort-Object DisplayName &gt; C:\\list-of-mailboxes.txt<\/code><\/p>\n<p>Enjoy<\/p>\n\n<!-- Facebook Like Button v1.9.6 BEGIN [http:\/\/blog.bottomlessinc.com] -->\n<iframe src=\"http:\/\/www.facebook.com\/plugins\/like.php?href=https%3A%2F%2Fdavidmichaelbrown.com%2F%3Fp%3D318&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light\" scrolling=\"no\" frameborder=\"0\" allowTransparency=\"true\" style=\"border:none; overflow:hidden; width:450px; height: 30px; align: left; margin: 2px 0px 2px 0px\"><\/iframe>\n<!-- Facebook Like Button END -->\n","protected":false},"excerpt":{"rendered":"<p>In recent months both myself and powershell are becoming best buds. I love the way how it makes my life so much easier. I&#8217;ve been asked by plenty of customers for a comprehensive list of mailboxes on their IT systems, you can find out by entering the following powershell command on Microsoft Exchange 2007, 2010 &#8230; <span class=\"more\"><a class=\"more-link\" href=\"https:\/\/davidmichaelbrown.com\/?p=318\">[Read more&#8230;]<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[9],"tags":[41,81,82,83,86,85,93,84],"class_list":["entry","post","publish","author-david-brown","post-318","format-standard","category-microsoft","post_tag-exchange","post_tag-exchange-2007","post_tag-exchange-2010","post_tag-exchange-2013","post_tag-list-of-mailboxes","post_tag-mailbox","post_tag-microsoft","post_tag-powershell"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/davidmichaelbrown.com\/index.php?rest_route=\/wp\/v2\/posts\/318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davidmichaelbrown.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davidmichaelbrown.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davidmichaelbrown.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davidmichaelbrown.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=318"}],"version-history":[{"count":3,"href":"https:\/\/davidmichaelbrown.com\/index.php?rest_route=\/wp\/v2\/posts\/318\/revisions"}],"predecessor-version":[{"id":321,"href":"https:\/\/davidmichaelbrown.com\/index.php?rest_route=\/wp\/v2\/posts\/318\/revisions\/321"}],"wp:attachment":[{"href":"https:\/\/davidmichaelbrown.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davidmichaelbrown.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davidmichaelbrown.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}