{"id":1001,"date":"2010-11-26T17:12:25","date_gmt":"2010-11-26T14:12:25","guid":{"rendered":"http:\/\/www.buldakov.ru\/?p=1001"},"modified":"2010-11-26T17:12:25","modified_gmt":"2010-11-26T14:12:25","slug":"rbac-ex2010-%d0%bf%d0%be%d0%bb%d0%b5%d0%b7%d0%bd%d1%8f%d1%88%d0%ba%d0%b8","status":"publish","type":"post","link":"https:\/\/www.buldakov.ru\/?p=1001","title":{"rendered":"RBAC Ex2010: \u043f\u043e\u043b\u0435\u0437\u043d\u044f\u0448\u043a\u0438"},"content":{"rendered":"<p>\u041d\u0435 \u043c\u043e\u0433\u0443 \u043d\u0435 \u043f\u0435\u0440\u0435\u043f\u043e\u0441\u0442\u0438\u0442\u044c <a title=\"7 Useful One-Liners when Managing RBAC in Exchange 2010\" href=\"http:\/\/www.mikepfeiffer.net\/2010\/11\/7-useful-one-liners-when-managing-rbac-in-exchange-2010\/\" target=\"_blank\">\u0438\u0437 \u0431\u043b\u043e\u0433\u0430 \u041c\u0430\u0439\u043a\u0430 \u041f\u0444\u0430\u0439\u0444\u0435\u0440\u0430<\/a>.<\/p>\n<p>1. \u041a\u0430\u043a \u0443\u0437\u043d\u0430\u0442\u044c \u043c\u043e\u0436\u0435\u0442 \u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442? \u0421\u043a\u0440\u0438\u043f\u0442:<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">Get-ManagementRoleAssignment -WritableRecipient administrator -GetEffectiveUsers | \n?{$_.EffectiveUserName -eq &quot;Stas Buldakov&quot;}<\/pre>\n<p>2. \u041a\u0430\u043a\u0438\u0435 \u0440\u043e\u043b\u0438 \u043c\u043e\u0433\u0443\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043b\u0435\u0442? \u0421\u043a\u0440\u0438\u043f\u0442:<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">Get-ManagementRoleEntry '*New-MailboxImportRequest'<\/pre>\n<p>3. \u041a\u0430\u043a\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043b\u0435\u0442\u044b \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u0430\u044f \u0440\u043e\u043b\u044c? \u0421\u043a\u0440\u0438\u043f\u0442:<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">Get-ManagementRoleEntry 'Mailbox Import Export*'<\/pre>\n<p>4. \u041a\u0430\u043a\u0438\u0435 \u0440\u043e\u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0432 \u0433\u0440\u0443\u043f\u043f\u0443 \u0440\u043e\u043b\u0435\u0439? \u0421\u043a\u0440\u0438\u043f\u0442:<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">Get-ManagementRoleAssignment -RoleAssignee &quot;Mailbox Import Export Admins&quot; | \nselect Role,AssignmentMethod,EffectiveUserName<\/pre>\n<p>5. \u041a\u0430\u043a\u0438\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0432 \u0433\u0440\u0443\u043f\u043f\u0443 \u0440\u043e\u043b\u0435\u0439? \u0421\u043a\u0440\u0438\u043f\u0442:<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">Get-RoleGroup 'Mailbox Import Export Admins' | Get-RoleGroupMember<\/pre>\n<p>6. \u041a\u043e\u043c\u0443 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0430 \u0431\u044b\u043b\u0430 \u0440\u043e\u043b\u044c? \u0421\u043a\u0440\u0438\u043f\u0442:<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">Get-ManagementRoleAssignment -Role 'Legal Hold' -GetEffectiveUsers | \nselect EffectiveUserName -Unique<\/pre>\n<p>7. \u041a\u0430\u043a\u0438\u0435 \u0440\u043e\u043b\u0438 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e? \u0421\u043a\u0440\u0438\u043f\u0442:<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">Get-ManagementRoleAssignment -GetEffectiveUsers | \n?{$_.EffectiveUserName -eq &quot;Stas Buldakov&quot;} | select Role<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u0435 \u043c\u043e\u0433\u0443 \u043d\u0435 \u043f\u0435\u0440\u0435\u043f\u043e\u0441\u0442\u0438\u0442\u044c \u0438\u0437 \u0431\u043b\u043e\u0433\u0430 \u041c\u0430\u0439\u043a\u0430 \u041f\u0444\u0430\u0439\u0444\u0435\u0440\u0430. 1. \u041a\u0430\u043a \u0443\u0437\u043d\u0430\u0442\u044c \u043c\u043e\u0436\u0435\u0442 \u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442? \u0421\u043a\u0440\u0438\u043f\u0442: Get-ManagementRoleAssignment -WritableRecipient administrator -GetEffectiveUsers | ?{$_.EffectiveUserName -eq &quot;Stas Buldakov&quot;} 2. \u041a\u0430\u043a\u0438\u0435 \u0440\u043e\u043b\u0438 \u043c\u043e\u0433\u0443\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043b\u0435\u0442? \u0421\u043a\u0440\u0438\u043f\u0442: Get-ManagementRoleEntry &#8216;*New-MailboxImportRequest&#8217; 3. \u041a\u0430\u043a\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043b\u0435\u0442\u044b \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u0430\u044f \u0440\u043e\u043b\u044c? \u0421\u043a\u0440\u0438\u043f\u0442: Get-ManagementRoleEntry &#8216;Mailbox Import Export*&#8217; 4. \u041a\u0430\u043a\u0438\u0435 \u0440\u043e\u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0432 \u0433\u0440\u0443\u043f\u043f\u0443 \u0440\u043e\u043b\u0435\u0439? [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[5,7],"tags":[],"class_list":["post-1001","post","type-post","status-publish","format-standard","hentry","category-exchange","category-powershell"],"_links":{"self":[{"href":"https:\/\/www.buldakov.ru\/index.php?rest_route=\/wp\/v2\/posts\/1001","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.buldakov.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.buldakov.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.buldakov.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.buldakov.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1001"}],"version-history":[{"count":0,"href":"https:\/\/www.buldakov.ru\/index.php?rest_route=\/wp\/v2\/posts\/1001\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.buldakov.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1001"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.buldakov.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1001"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.buldakov.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1001"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}