{"id":4444,"date":"2011-09-28T15:59:44","date_gmt":"2011-09-28T11:59:44","guid":{"rendered":"http:\/\/msbro.ru\/?p=4444"},"modified":"2014-08-04T11:28:59","modified_gmt":"2014-08-04T07:28:59","slug":"exchange-2010-sp1-poisk-i-udalenie-pisem-v-pochtovykh-yashhikakh","status":"publish","type":"post","link":"https:\/\/msbro.ru\/index.php\/archives\/4444","title":{"rendered":"Exchange 2010 SP1 &#8211; \u043f\u043e\u0438\u0441\u043a \u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u043f\u0438\u0441\u0435\u043c \u0432 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0445 \u044f\u0449\u0438\u043a\u0430\u0445"},"content":{"rendered":"<p>\u0412 Exchange 2010 SP1 \u0441\u043c\u0435\u043d\u0438\u043b\u0441\u044f \u043f\u043e\u0438\u0441\u043a \u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u043f\u0438\u0441\u0435\u043c \u0432 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0445 \u044f\u0449\u0438\u043a\u0430\u0445.<br \/>\n\u0442\u0435\u043f\u0435\u0440\u044c \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u043b\u0430\u0434\u0430\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c\u0438 \u043f\u0440\u0430\u0432\u0430\u043c\u0438.<br \/>\n\u041f\u0440\u0430\u0432\u0430 \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u0435\u043c \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f sidorov:<\/p>\n<pre>New-RoleGroup -Name \"Import Export Admins\" -Roles \"Mailbox Import Export\" -Members sidorov\r\nNew-ManagementRoleAssignment -Role \"Support Diagnostics\" \u2013User sidorov\r\nNew-ManagementRoleAssignment -Role \"Mailbox Import Export\" -User sidorov<\/pre>\n<p>\u041f\u0440\u0430\u0432\u0430 \u043d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 (\u0438\u043c\u043f\u043e\u0440\u0442 \u0438 \u044d\u043a\u0441\u043f\u043e\u0440\u0442) \u043f\u043e\u044f\u0432\u044f\u0442\u0441\u044f \u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f sidorov.<br \/>\n\u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0430\u0432\u0430 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043b\u043e\u0433\u0438\u043d\u0438\u0442\u044c\u0441\u044f \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435.<\/p>\n<p>\u0418\u0437\u043c\u0435\u043d\u0438\u043b\u0441\u044f \u0438 \u0441\u0430\u043c \u0437\u0430\u043f\u0440\u043e\u0441, \u0442\u0435\u043f\u0435\u0440\u044c \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u044d\u0442\u043e \u0442\u0430\u043a:<\/p>\n<p><!--more--><\/p>\n<pre>Search-Mailbox -Identity \"\u0418\u0432\u0430\u043d\u043e\u0432 \u041f\u0435\u0442\u0440\" -SearchQuery \"Subject:'\u043d\u043e\u0432\u044b\u0439 \u043f\u0440\u0430\u0439\u0441 \u043d\u0430 \u043b\u0430\u043c\u0438\u043d\u0430\u0442' from:vladimirov@mail.ru sent:today\" -DeleteContent -confirm:$false<\/pre>\n<p>\u0423\u0434\u0430\u043b\u044f\u0435\u0442 \u043f\u0438\u0441\u044c\u043c\u043e<br \/>\n\u0432 \u044f\u0449\u0438\u043a\u0435 &#8220;\u0418\u0432\u0430\u043d\u043e\u0432 \u041f\u0435\u0442\u0440&#8221;<br \/>\n\u0442\u0435\u043c\u0430 \u043f\u0438\u0441\u044c\u043c\u0430 &#8220;\u043d\u043e\u0432\u044b\u0439 \u043f\u0440\u0430\u0439\u0441 \u043d\u0430 \u043b\u0430\u043c\u0438\u043d\u0430\u0442&#8221;<br \/>\n\u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u0435\u043b\u044c &#8220;vladimirov@mail.ru&#8221;<br \/>\n\u043f\u043e\u0441\u043b\u0430\u043d\u043e &#8220;\u0441\u0435\u0433\u043e\u0434\u043d\u044f&#8221;<\/p>\n<p>\u043a \u0441\u043b\u043e\u0432\u0443 \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0443 \u043c\u0435\u043d\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0430\u0441\u044c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0441 \u0440\u043e\u043b\u044c\u044e \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0445 \u044f\u0449\u0438\u043a\u043e\u0432 (MailBox).<br \/>\n\u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u043c\u0435\u0441\u0442\u0430\u0445 \u0440\u0443\u0433\u0430\u043b\u0430\u0441\u044c<\/p>\n<pre>[PS] C:\\Windows\\system32&gt;Search-Mailbox -Identity \"DeleteMailbox\" -SearchQuery \"Subject:\u043d\u043e\u0432\u044b\u0439 \u043f\u0440\u0430\u0439\u0441 \u043d\u0430 \u043b\u0430\u043c\u0438\u043d\u0430\u0442\" -DeleteContent\r\n\r\nConfirm\r\nDeleting content from mailboxes DeleteMailbox\r\n[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is \"Y\"):\r\nThe property keyword isn't supported.\r\n    + CategoryInfo          : InvalidArgument: (:) [], ParserException\r\n    + FullyQualifiedErrorId : 34BC1ACA<\/pre>\n<p>\u041f\u0440\u043e\u0439\u0442\u0438\u0441\u044c \u043f\u043e \u0432\u0441\u0435\u043c \u044f\u0449\u0438\u043a\u0430\u043c:<\/p>\n<pre>Get-Mailbox -resultsize unlimited | Search-Mailbox -SearchQuery \"Subject:'\u043d\u043e\u0432\u044b\u0439 \u043f\u0440\u0430\u0439\u0441 \u043d\u0430 \u043b\u0430\u043c\u0438\u043d\u0430\u0442' from:vladimirov@mail.ru sent:today\" -DeleteContent -confirm:$false<\/pre>\n<p>\u0438\u043b\u0438 \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0443:<\/p>\n<pre>Get-Mailbox \u2013Server \u201c*\u0438\u043c\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u0430*\u201d \u2013ResultSize unlimited | Search-Mailbox -SearchQuery \"Subject:'\u043d\u043e\u0432\u044b\u0439 \u043f\u0440\u0430\u0439\u0441 \u043d\u0430 \u043b\u0430\u043c\u0438\u043d\u0430\u0442' from:vladimirov@mail.ru sent:today\" -DeleteContent -confirm:$false<\/pre>\n<p>\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0439 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0442\u0443\u0442\u00a0<a href=\"http:\/\/technet.microsoft.com\/ru-ru\/library\/bb232132.aspx\">http:\/\/technet.microsoft.com\/ru-ru\/library\/bb232132.aspx<\/a><\/p>\n<p>\u0412\u0430\u0440\u0438\u0430\u043d\u0442 \u0441 \u043f\u043e\u0434\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439 \u043f\u043e\u0438\u0441\u043a\u0430 (\u0438\u0449\u0435\u043c \u0438 \u0443\u0434\u0430\u043b\u044f\u0435\u043c \u043b\u044e\u0431\u044b\u0435 \u0432\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0442\u0435\u043c\u044b &#8220;*\u043d\u043e\u0432\u044b\u0439 \u043f\u0440\u0430\u0439\u0441 \u043d\u0430 \u043b\u0430\u043c\u0438\u043d\u0430\u0442&#8221;):<\/p>\n<pre>Search-Mailbox -Identity \"\u0418\u0432\u0430\u043d\u043e\u0432 \u041f\u0435\u0442\u0440\" -SearchQuery \"Subject:'*\u043d\u043e\u0432\u044b\u0439 \u043f\u0440\u0430\u0439\u0441 \u043d\u0430 \u043b\u0430\u043c\u0438\u043d\u0430\u0442' from:vladimirov@mail.ru sent:10.02.2010\" -DeleteContent -confirm:$false\r\n\r\n\r\n<\/pre>\n<p>\u041c\u043e\u0436\u043d\u043e \u0438\u0441\u043a\u0430\u0442\u044c \u043f\u043e \u0434\u0430\u0442\u0430\u043c \u0438\u043b\u0438 \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u0443 \u0434\u0430\u0442.<br \/>\n\u042d\u0442\u043e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u043b:<\/p>\n<pre>\r\nGet-Mailbox -resultsize unlimited | Search-Mailbox -SearchQuery \"Subject:'*\u0412\u044b\u0431\u043e\u0440\u043a\u0430 \u041e\u0422\u0427\u0415\u0422' from:yaroslavv@firma.ru sent:01-08-2014\" -DeleteContent -confirm:$false <\/pre>\n<p>\u0433\u043e\u0432\u043e\u0440\u044f\u0442 \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0443\u0434\u0430\u043b\u044f\u0442\u044c \u0438 \u0442\u0430\u043a (\u044f \u043d\u0435 \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b):<\/p>\n<pre>\r\nSearch-Mailbox -searchQuery \"Received:< $(get-date).addDays(-2)\"\r\nSearch-Mailbox -SearchQuery Received:<$(\"09\/18\/2011\")\r\nSearch-Mailbox -SearchQuery \u201cReceived:> $(\u201910\/01\/2008') and Received:< $(\u201910\/05\/2010')\u201d\r\n<\/pre>\n<p>\u041e\u0428\u0418\u0411\u041a\u0418:<\/p>\n<pre>\r\n\u041a\u043b\u044e\u0447\u0435\u0432\u043e\u0435 \u0441\u043b\u043e\u0432\u043e property \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f.\r\n    + CategoryInfo          : InvalidArgument: (:) [], ParserException\r\n    + FullyQualifiedErrorId : 738C299A\r\n<\/pre>\n<p>\u0412\u044b\u043b\u0435\u0447\u0438\u0442\u044c \u043d\u0435 \u043c\u043e\u0433. \u041f\u0440\u043e\u0441\u0442\u043e \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0441 \u0440\u043e\u043b\u044c\u044e MAILBOX \u044d\u0442\u043e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 \u043e\u0442\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442, \u043d\u0430 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u043e\u0442\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f. \u041f\u043e\u0447\u0435\u043c\u0443 \u0442\u0430\u043a - \u043f\u043e\u043a\u0430 \u043d\u0435 \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043b\u0441\u044f.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412 Exchange 2010 SP1 \u0441\u043c\u0435\u043d\u0438\u043b\u0441\u044f \u043f\u043e\u0438\u0441\u043a \u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u043f\u0438\u0441\u0435\u043c \u0432 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0445 \u044f\u0449\u0438\u043a\u0430\u0445. \u0442\u0435\u043f\u0435\u0440\u044c \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u043b\u0430\u0434\u0430\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c\u0438 \u043f\u0440\u0430\u0432\u0430\u043c\u0438. \u041f\u0440\u0430\u0432\u0430 \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u0435\u043c \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f sidorov: New-RoleGroup -Name &#8220;Import Export Admins&#8221; -Roles &#8220;Mailbox Import Export&#8221; -Members sidorov New-ManagementRoleAssignment -Role &#8220;Support Diagnostics&#8221; \u2013User sidorov New-ManagementRoleAssignment -Role &#8220;Mailbox Import Export&#8221; -User sidorov \u041f\u0440\u0430\u0432\u0430 \u043d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 (\u0438\u043c\u043f\u043e\u0440\u0442 \u0438 \u044d\u043a\u0441\u043f\u043e\u0440\u0442) \u043f\u043e\u044f\u0432\u044f\u0442\u0441\u044f &#8230;<\/p>\n<p><a href=\"https:\/\/msbro.ru\/index.php\/archives\/4444\" class=\"more-link\">Continue reading &lsquo;Exchange 2010 SP1 &#8211; \u043f\u043e\u0438\u0441\u043a \u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u043f\u0438\u0441\u0435\u043c \u0432 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0445 \u044f\u0449\u0438\u043a\u0430\u0445&rsquo; &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[29,1356,1215],"class_list":["post-4444","post","type-post","status-publish","format-standard","hentry","category-exchange","tag-exchange-2010","tag-search-mailbox","tag-sp1"],"_links":{"self":[{"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/posts\/4444"}],"collection":[{"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/comments?post=4444"}],"version-history":[{"count":2,"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/posts\/4444\/revisions"}],"predecessor-version":[{"id":5276,"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/posts\/4444\/revisions\/5276"}],"wp:attachment":[{"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/media?parent=4444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/categories?post=4444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/tags?post=4444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<!-- WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. -->