{"id":621,"date":"2009-07-28T11:32:02","date_gmt":"2009-07-28T08:32:02","guid":{"rendered":"http:\/\/www.buldakov.ru\/?p=621"},"modified":"2015-12-10T17:41:17","modified_gmt":"2015-12-10T14:41:17","slug":"exchange-2007-%d1%81%d1%82%d0%b0%d1%82%d0%b8%d1%81%d1%82%d0%b8%d0%ba%d0%b0-%d0%bf%d0%be%d1%87%d1%82%d0%be%d0%b2%d1%8b%d1%85-%d0%b1%d0%b0%d0%b7","status":"publish","type":"post","link":"https:\/\/www.buldakov.ru\/?p=621","title":{"rendered":"Exchange 2007: \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0445 \u0431\u0430\u0437"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-432\" title=\"Exchange 2007\" src=\"http:\/\/www.buldakov.ru\/wp-content\/uploads\/2009\/04\/e12icon_21.png\" alt=\"Exchange 2007\" width=\"90\" height=\"89\" align=\"left\" \/>\u041f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0441\u043d\u044f\u0442\u0438\u0435 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0445 \u0431\u0430\u0437 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u043f\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0435 \u043f\u043e\u0447\u0442\u043e\u0432\u043e\u0439 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438. \u041d\u0430\u0442\u043a\u043d\u0443\u043b\u0441\u044f \u0432 <a title=\"Exchange 2007: Database Statistics in Powershell\" href=\"http:\/\/exchangeshare.wordpress.com\/2009\/07\/27\/exchange-2007-database-statistics-in-powershell\/\" target=\"_blank\">\u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435<\/a> \u043d\u0430 \u043f\u0430\u0440\u0443 \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438. \u041f\u043e\u0441\u043b\u0435 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435.<\/p>\n<p>\u0412\u044b\u0432\u043e\u0434\u00a0\u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u00a0\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043f\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0445\u00a0\u044f\u0449\u0438\u043a\u043e\u0432 \u0432 \u0431\u0430\u0437\u0430\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 MailServer, \u043e\u0442\u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u043e \u0438\u043c\u0435\u043d\u0438 \u0431\u0430\u0437:<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">Get-MailboxDatabase | Where-Object {$_.Server -eq &quot;MailServer&quot;} | Select Server, \r\nStorageGroupName, Name, @{Name=&quot;Number Of Mailboxes&quot;;expression={(Get-Mailbox \r\n-Database $_.Identity | Measure-Object).Count}} | Sort -Property Name\u00a0| \r\nFormat-Table -AutoSize<\/pre>\n<p>\u0412\u044b\u0432\u043e\u0434 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043f\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0443 \u0431\u0430\u0437 \u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0445 \u044f\u0449\u0438\u043a\u043e\u0432 \u0432 \u043d\u0438\u0445, \u043e\u0442\u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043f\u043e \u0438\u043c\u0435\u043d\u0438 \u0431\u0430\u0437, \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">Get-MailboxDatabase | Where-Object {$_.Server -eq &quot;MailServer&quot;}\u00a0|\u00a0Select Identity, \r\n@{Name=&quot;Size (GB)&quot;;Expression={$objitem = (Get-MailboxDatabase $_.Identity); $path = &quot;``&quot; + \r\n$objitem.server + &quot;`&quot; + $objItem.EdbFilePath.DriveName.Remove(1).ToString() + &quot;$&quot;+ \r\n$objItem.EdbFilePath.PathName.Remove(0,2); $size = ((Get-ChildItem $path).length)\/1048576KB; \r\n&#x5B;math]::round($size, 2)}}, @{Name=&quot;No. Of Mbx&quot;;expression={(Get-Mailbox \r\n-Database $_.Identity | Measure-Object).Count}} | Sort -Property Identity\u00a0| \r\nFormat-table -AutoSize<\/pre>\n<p>\u0414\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0432 \u0444\u0430\u0439\u043b \u0432\u043c\u0435\u0441\u0442\u043e Format-Table \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Export-Csv.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0441\u043d\u044f\u0442\u0438\u0435 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0445 \u0431\u0430\u0437 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u043f\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0435 \u043f\u043e\u0447\u0442\u043e\u0432\u043e\u0439 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438. \u041d\u0430\u0442\u043a\u043d\u0443\u043b\u0441\u044f \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435 \u043d\u0430 \u043f\u0430\u0440\u0443 \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438. \u041f\u043e\u0441\u043b\u0435 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435. \u0412\u044b\u0432\u043e\u0434\u00a0\u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u00a0\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043f\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0445\u00a0\u044f\u0449\u0438\u043a\u043e\u0432 \u0432 \u0431\u0430\u0437\u0430\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 MailServer, \u043e\u0442\u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u043e \u0438\u043c\u0435\u043d\u0438 \u0431\u0430\u0437: Get-MailboxDatabase | Where-Object {$_.Server -eq &quot;MailServer&quot;} | Select Server, StorageGroupName, Name, @{Name=&quot;Number [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-621","post","type-post","status-publish","format-standard","hentry","category-exchange"],"_links":{"self":[{"href":"https:\/\/www.buldakov.ru\/index.php?rest_route=\/wp\/v2\/posts\/621","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=621"}],"version-history":[{"count":3,"href":"https:\/\/www.buldakov.ru\/index.php?rest_route=\/wp\/v2\/posts\/621\/revisions"}],"predecessor-version":[{"id":2989,"href":"https:\/\/www.buldakov.ru\/index.php?rest_route=\/wp\/v2\/posts\/621\/revisions\/2989"}],"wp:attachment":[{"href":"https:\/\/www.buldakov.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=621"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.buldakov.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=621"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.buldakov.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}