{"id":1402,"date":"2013-04-03T13:52:51","date_gmt":"2013-04-03T13:52:51","guid":{"rendered":"https:\/\/pipe2text.com\/?page_id=1402"},"modified":"2013-04-03T13:57:42","modified_gmt":"2013-04-03T13:57:42","slug":"1402-2","status":"publish","type":"page","link":"https:\/\/pipe2text.com\/?page_id=1402","title":{"rendered":"Granting an administrator full access permissions to all mailboxes whose associated user accounts are stored in a specific OU"},"content":{"rendered":"<p>Get-Mailbox | Where { $_.OrganizationalUnit -eq \u201cyourdomain.com\/OU\/SubOU\u201d } | Add-MailboxPermission -User ITADMIN -AccessRights Full access -Inheritance Type all<\/p>\n<p>This script will locate all users with mailboxes located in the OU you specify in the <strong>&#8220;yourdomain.com\/OU\/SubOU&#8221;<\/strong> section. It will then grant the user you specify in the <strong>-User ITADMIN<\/strong> section full access to all mailboxes whose associated user accounts are stored in the specified OU<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Get-Mailbox | Where { $_.OrganizationalUnit -eq \u201cyourdomain.com\/OU\/SubOU\u201d } | Add-MailboxPermission -User ITADMIN -AccessRights Full access -Inheritance Type all This script will locate all users with mailboxes located in the OU you specify in the &#8220;yourdomain.com\/OU\/SubOU&#8221; section. It will then grant &hellip; <a href=\"https:\/\/pipe2text.com\/?page_id=1402\">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-1402","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/pages\/1402","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=1402"}],"version-history":[{"count":3,"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/pages\/1402\/revisions"}],"predecessor-version":[{"id":1404,"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/pages\/1402\/revisions\/1404"}],"wp:attachment":[{"href":"https:\/\/pipe2text.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}