{"id":98,"date":"2018-09-07T10:53:59","date_gmt":"2018-09-07T14:53:59","guid":{"rendered":"http:\/\/www.thelamberts.com\/wiki\/?p=98"},"modified":"2018-09-10T07:55:30","modified_gmt":"2018-09-10T11:55:30","slug":"importing-exchange-2010-powershell-module","status":"publish","type":"post","link":"http:\/\/www.thelamberts.com\/wiki\/2018\/09\/07\/importing-exchange-2010-powershell-module\/","title":{"rendered":"Importing Exchange 2010 Powershell Module"},"content":{"rendered":"<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">#Add Exchange snapin if not already loadedif (!(Get-PSSnapin | where {$_.Name -eq &quot;Microsoft.Exchange.Management.PowerShell.E2010&quot;}))\r\n\r\n{\r\n\r\nWrite-Verbose &quot;Loading the Exchange snapin&quot;\r\n\r\nAdd-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010 -ErrorAction SilentlyContinue\r\n\r\n. $env:ExchangeInstallPath\\bin\\RemoteExchange.ps1\r\n\r\nConnect-ExchangeServer -auto -AllowClobber\r\n\r\n}<\/pre>\r\nscript by\u00a0Paul Cunnigham.","protected":false},"excerpt":{"rendered":"#Add Exchange snapin if not already loadedif (!(Get-PSSnapin | where {$_.Name -eq &quot;Microsoft.Exchange.Management.PowerShell.E2010&quot;})) { Write-Verbose &quot;Loading the Exchange snapin&quot; Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010 -ErrorAction SilentlyContinue . $env:ExchangeInstallPath\\bin\\RemoteExchange.ps1 Connect-ExchangeServer -auto -AllowClobber } script by\u00a0Paul Cunnigham.","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,3,1],"tags":[],"class_list":["post-98","post","type-post","status-publish","format-standard","hentry","category-exchange","category-powershell","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.thelamberts.com\/wiki\/wp-json\/wp\/v2\/posts\/98","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=98"}],"version-history":[{"count":6,"href":"http:\/\/www.thelamberts.com\/wiki\/wp-json\/wp\/v2\/posts\/98\/revisions"}],"predecessor-version":[{"id":117,"href":"http:\/\/www.thelamberts.com\/wiki\/wp-json\/wp\/v2\/posts\/98\/revisions\/117"}],"wp:attachment":[{"href":"http:\/\/www.thelamberts.com\/wiki\/wp-json\/wp\/v2\/media?parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.thelamberts.com\/wiki\/wp-json\/wp\/v2\/categories?post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.thelamberts.com\/wiki\/wp-json\/wp\/v2\/tags?post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}