{"id":1003,"date":"2012-07-13T22:08:25","date_gmt":"2012-07-13T22:08:25","guid":{"rendered":"https:\/\/pipe2text.com\/?page_id=1003"},"modified":"2012-07-14T01:12:36","modified_gmt":"2012-07-14T01:12:36","slug":"listing-retention-policy-set-on-all-users-on-exchange-2010-systems","status":"publish","type":"page","link":"https:\/\/pipe2text.com\/?page_id=1003","title":{"rendered":"Listing retention policy set for all users on Exchange 2010"},"content":{"rendered":"<p>This command will list the retention policy set on all users in an Exchange 2010 environment and place an output file called retention.txt on the c drive<\/p>\n<p><em>[PS] C:\\Windows\\system32&gt;Get-Mailbox -ResultSize unlimited | ft Name, RetentionPolicy &gt; c:\\retention.txt<\/em><\/p>\n<p>This command will list the retention policy set on all users on a specific Exchange server and place an output file called retention.txt on the c drive<\/p>\n<p><em>[PS] C:\\Windows\\system32&gt;Get-Mailbox -server\u00a0Exchangesevername -ResultSize unlimited | ft Name, RetentionPolicy &gt; c:\\retention.txt<\/em><\/p>\n<p>This command will list the retention policy set on all users on a specific Exchange server and place an output file called retention.txt on the c drive<\/p>\n<p><em>[PS] C:\\Windows\\system32&gt;Get-Mailbox -database databasename -ResultSize unlimited | ft Name, RetentionPolicy &gt; c:\\retention.txt<\/em><\/p>\n<table width=\"637\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"416\" \/>\n<col width=\"221\" \/><\/colgroup>\n<tbody>\n<tr>\n<td width=\"416\" height=\"20\">Name<\/td>\n<td width=\"221\">RetentionPolicy<\/td>\n<\/tr>\n<tr>\n<td height=\"20\">&#8212;-<\/td>\n<td>&#8212;&#8212;&#8212;&#8212;&#8212;<\/td>\n<\/tr>\n<tr>\n<td height=\"20\">User1<\/td>\n<td>6 Month Policy<\/td>\n<\/tr>\n<tr>\n<td height=\"20\">User2<\/td>\n<td>3 Month Policy<\/td>\n<\/tr>\n<tr>\n<td height=\"20\">User3<\/td>\n<td>6 Month Policy<\/td>\n<\/tr>\n<tr>\n<td height=\"20\">User4<\/td>\n<td>3 Month Policy<\/td>\n<\/tr>\n<tr>\n<td height=\"20\">User5<\/td>\n<td>6 Month Policy<\/td>\n<\/tr>\n<tr>\n<td height=\"20\">User6<\/td>\n<td>3 Month Policy<\/td>\n<\/tr>\n<tr>\n<td height=\"20\">User7<\/td>\n<td>6 Month Policy<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>This command will list the retention policy set on all users in an Exchange 2010 environment and place an output file called retention.txt on the c drive [PS] C:\\Windows\\system32&gt;Get-Mailbox -ResultSize unlimited | ft Name, RetentionPolicy &gt; c:\\retention.txt This command will &hellip; <a href=\"https:\/\/pipe2text.com\/?page_id=1003\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"class_list":["post-1003","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/pages\/1003","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/pipe2text.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1003"}],"version-history":[{"count":6,"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/pages\/1003\/revisions"}],"predecessor-version":[{"id":1005,"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/pages\/1003\/revisions\/1005"}],"wp:attachment":[{"href":"https:\/\/pipe2text.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1003"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}