{"id":54,"date":"2016-02-01T08:25:40","date_gmt":"2016-02-01T13:25:40","guid":{"rendered":"http:\/\/www.thelamberts.com\/wiki\/?p=54"},"modified":"2016-02-01T08:25:40","modified_gmt":"2016-02-01T13:25:40","slug":"error-balancing-exchange-dag-databases","status":"publish","type":"post","link":"http:\/\/www.thelamberts.com\/wiki\/2016\/02\/01\/error-balancing-exchange-dag-databases\/","title":{"rendered":"Error balancing exchange DAG \/ databases"},"content":{"rendered":"When running RedistributeActiveDatabases.ps1 if you receive the following error&#8230; restart powershell.\r\n\r\n<pre><code>New-Object : Cannot find type [HADatabaseLoadBalancing.DatabaseMoveStatus]: make sure the assembly containing this type\r\n is loaded.\r\nAt C:\\Program Files\\Microsoft\\Exchange Server\\V14\\Scripts\\RedistributeActiveDatabases.ps1:648 char:70\r\n+     [HADatabaseLoadBalancing.DatabaseMoveStatus]$moveStatus = New-Object &lt;&lt;&lt;&lt;  -TypeName \"HADatabaseLoadBalancing.Dat\r\nabaseMoveStatus\"\r\n    + CategoryInfo          : InvalidType: (:) [New-Object], PSArgumentException\r\n    + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand\r\n<\/code><\/pre>\r\n&nbsp;","protected":false},"excerpt":{"rendered":"When running RedistributeActiveDatabases.ps1 if you receive the following error&#8230; restart powershell. New-Object : Cannot find type [HADatabaseLoadBalancing.DatabaseMoveStatus]: make sure the assembly containing this type is loaded. At C:\\Program Files\\Microsoft\\Exchange Server\\V14\\Scripts\\RedistributeActiveDatabases.ps1:648 char:70 + [HADatabaseLoadBalancing.DatabaseMoveStatus]$moveStatus = New-Object &lt;&lt;&lt;&lt; -TypeName &#8220;HADatabaseLoadBalancing.Dat abaseMoveStatus&#8221; + CategoryInfo : InvalidType: (:) [New-Object], PSArgumentException + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand &nbsp;","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,3],"tags":[],"class_list":["post-54","post","type-post","status-publish","format-standard","hentry","category-exchange","category-powershell"],"_links":{"self":[{"href":"http:\/\/www.thelamberts.com\/wiki\/wp-json\/wp\/v2\/posts\/54","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.thelamberts.com\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.thelamberts.com\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.thelamberts.com\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.thelamberts.com\/wiki\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":1,"href":"http:\/\/www.thelamberts.com\/wiki\/wp-json\/wp\/v2\/posts\/54\/revisions"}],"predecessor-version":[{"id":55,"href":"http:\/\/www.thelamberts.com\/wiki\/wp-json\/wp\/v2\/posts\/54\/revisions\/55"}],"wp:attachment":[{"href":"http:\/\/www.thelamberts.com\/wiki\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.thelamberts.com\/wiki\/wp-json\/wp\/v2\/categories?post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.thelamberts.com\/wiki\/wp-json\/wp\/v2\/tags?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}