{"id":163,"date":"2008-12-16T14:31:00","date_gmt":"2008-12-16T11:31:00","guid":{"rendered":"http:\/\/www.buldakov.ru\/?p=163"},"modified":"2015-12-14T13:09:54","modified_gmt":"2015-12-14T10:09:54","slug":"powershell-%d0%bf%d0%be%d0%b8%d1%81%d0%ba-%d0%b2%d1%81%d0%b5%d1%85-%d0%be%d0%b1%d1%89%d0%b8%d1%85-%d0%bf%d0%b0%d0%bf%d0%be%d0%ba-%d1%81-%d0%bf%d0%be%d0%b4%d0%ba%d0%bb%d1%8e%d1%87%d0%b5%d0%bd%d0%bd","status":"publish","type":"post","link":"https:\/\/www.buldakov.ru\/?p=163","title":{"rendered":"PowerShell: \u043f\u043e\u0438\u0441\u043a \u0432\u0441\u0435\u0445 \u043e\u0431\u0449\u0438\u0445 \u043f\u0430\u043f\u043e\u043a \u0441 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u043c e-mail"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-162\" title=\"PowerShell Logo\" src=\"http:\/\/www.buldakov.ru\/wp-content\/uploads\/2008\/12\/community-logo.png\" alt=\"PowerShell Logo\" width=\"90\" height=\"50\" align=\"left\" \/>\u0412\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u0437\u0430\u0434\u0430\u0447\u043a\u0430 &#8211; \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 \u043e\u0431\u0449\u0438\u0445 \u043f\u0430\u043f\u043e\u043a \u043d\u0430 Exchange 2003, \u0443 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d e-mail \u0430\u0434\u0440\u0435\u0441. \u041f\u0435\u0440\u0432\u043e\u0435 \u0447\u0442\u043e \u043f\u0440\u0438\u0448\u043b\u043e \u0432 \u0433\u043e\u043b\u043e\u0432\u0443 &#8211; \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 PoSh.<br \/>\n\u0412\u043e\u0442 \u043a\u0430\u043a\u043e\u0439 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u0440\u0438\u043f\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f:<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">Get-WmiObject -ComputerName MBXSRV -Namespace rootMicrosoftExchangeV2 \r\n-Class exchange_publicfolder | where {$_.IsMailEnabled -like &quot;True&quot;} | \r\nSelect-Object Name,Path | Export-Csv filename<\/pre>\n<p>\u0414\u043e\u0441\u0442\u0443\u043f \u043a \u043e\u0431\u0449\u0438\u043c \u043f\u0430\u043f\u043a\u0430\u043c \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0447\u0435\u0440\u0435\u0437 \u043a\u043b\u0430\u0441\u0441 exchange_publicfolder. \u0418 \u0434\u0435\u043b\u0430\u0435\u043c \u0432\u044b\u0431\u043e\u0440\u043a\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e \u0442\u0435\u043c \u043f\u0430\u043f\u043a\u0430\u043c, \u0443 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u0445 IsMailEnabled \u0440\u0430\u0432\u043d\u044f\u0435\u0442\u0441\u044f True.<br \/>\n\u0411\u044b\u043b\u043e \u0431\u044b \u043d\u0435\u043f\u043b\u043e\u0445\u043e \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u0438\u043c\u0435\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0432\u0438\u0434\u0430 Name,path,e-mail. \u041d\u043e \u043a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043f\u043e\u0447\u0442\u043e\u0432\u043e\u043c\u0443 \u0430\u043b\u0438\u0430\u0441\u0443 \u043e\u0431\u0449\u0435\u0439 \u043f\u0430\u043f\u043a\u0438 \u043f\u043e\u043a\u0430 \u043d\u0435 \u0437\u043d\u0430\u044e.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u0437\u0430\u0434\u0430\u0447\u043a\u0430 &#8211; \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 \u043e\u0431\u0449\u0438\u0445 \u043f\u0430\u043f\u043e\u043a \u043d\u0430 Exchange 2003, \u0443 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d e-mail \u0430\u0434\u0440\u0435\u0441. \u041f\u0435\u0440\u0432\u043e\u0435 \u0447\u0442\u043e \u043f\u0440\u0438\u0448\u043b\u043e \u0432 \u0433\u043e\u043b\u043e\u0432\u0443 &#8211; \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 PoSh. \u0412\u043e\u0442 \u043a\u0430\u043a\u043e\u0439 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u0440\u0438\u043f\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f: Get-WmiObject -ComputerName MBXSRV -Namespace rootMicrosoftExchangeV2 -Class exchange_publicfolder | where {$_.IsMailEnabled -like &quot;True&quot;} | Select-Object Name,Path | Export-Csv filename \u0414\u043e\u0441\u0442\u0443\u043f \u043a \u043e\u0431\u0449\u0438\u043c \u043f\u0430\u043f\u043a\u0430\u043c \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0447\u0435\u0440\u0435\u0437 \u043a\u043b\u0430\u0441\u0441 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-163","post","type-post","status-publish","format-standard","hentry","category-powershell"],"_links":{"self":[{"href":"https:\/\/www.buldakov.ru\/index.php?rest_route=\/wp\/v2\/posts\/163","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=163"}],"version-history":[{"count":3,"href":"https:\/\/www.buldakov.ru\/index.php?rest_route=\/wp\/v2\/posts\/163\/revisions"}],"predecessor-version":[{"id":3062,"href":"https:\/\/www.buldakov.ru\/index.php?rest_route=\/wp\/v2\/posts\/163\/revisions\/3062"}],"wp:attachment":[{"href":"https:\/\/www.buldakov.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.buldakov.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.buldakov.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}