{"id":1651,"date":"2010-04-07T13:22:00","date_gmt":"2010-04-07T17:22:00","guid":{"rendered":"http:\/\/www.bhargavs.com\/index.php\/2010\/04\/07\/how-to-install-update-rollups-remotely-on-exchange-2010-server\/"},"modified":"2010-04-07T13:22:00","modified_gmt":"2010-04-07T17:22:00","slug":"how-to-install-update-rollups-remotely-on-exchange-2010-server","status":"publish","type":"post","link":"https:\/\/bhargavs.com\/index.php\/2010\/04\/07\/how-to-install-update-rollups-remotely-on-exchange-2010-server\/","title":{"rendered":"How to install Update Rollups remotely on Exchange 2010 server"},"content":{"rendered":"<p>If you are like me, you are always looking for ways to not leave your chair, or for that matter, not switch windows.<\/p>\n<p>When it comes to install Update Rollups on every Exchange 2010 server you have, the same applies. So I set out to find a way and I found one! Even though this requires some work upfront, it will make it easy ever after.<\/p>\n<h5>Pre-Requisites:<\/h5>\n<p>The cost of making it easier for future is the work you have to do now. Well, let\u2019s get to it. In order to be able to connect to your Exchange servers remotely, you will need to configure winrm (if not configured already). All you need to do is run <\/p>\n<pre class=\"brush: powershell\">winrm quickconfig<\/pre>\n<\/p>\n<p>from elevated PowerShell session (run as administrator). The command adds an HTTP listener, configures the server to allow remote requests, and creates a Firewall exception rule. I am assuming that you are running Windows Server 2008 R2. I have not tested this on other server versions, however it should work if PowerShell v2 and WinRM is installed correctly.<\/p>\n<h5>Script:<\/h5>\n<p>So, how do I run the script?<\/p>\n<pre class=\"brush: powershell\">Get-Content \u201c\\\\server\\share\\servers.txt\u201d | Foreach-Object {Invoke-Command \u2013ComputerName $_ \u2013FilePath \u201c\\\\server\\share\\Install-UpdateRollups.ps1\u201d}<\/pre>\n<p>The command will read list of servers from servers.txt (specify your path where it reads <a href=\"file:\/\/server\/share\/servers.txt\" mce_href=\"file:\/\/\\\\server\\share\\servers.txt\">\\\\server\\share\\servers.txt<\/a>) and call script to install Update Rollup specified in the script. Notice that I am user serialization by piping. This way I am running update only on one server at a time. The command could be change to look like this:<\/p>\n<pre class=\"brush: powershell\">Invoke-Command \u2013ComputerName (Get-Content \u201c\\\\server\\share\\servers.txt\u201d) \u2013FilePath \u201c\\\\server\\share\\Install-UpdateRollups.ps1\u201d<\/pre>\n<p>however, I have not tested it on multiple computers and unsure of the success using this method.<\/p>\n<p>After the installation of Update Rollup, the script will prompt user for reboot and if user approves, script will also reboot the server.<\/p>\n<p>So, a million dollar question is, where is this script? You can download it here: <a href=\"http:\/\/cid-14adc5cf1e0cbccf.skydrive.live.com\/self.aspx\/.Public\/Blog-TechNet\/Install-UpdateRollups.ps1\" target=\"_blank\" mce_href=\"http:\/\/cid-14adc5cf1e0cbccf.skydrive.live.com\/self.aspx\/.Public\/Blog-TechNet\/Install%2DUpdateRollups%2Eps1\" rel=\"noopener noreferrer\">Install-UpdateRollups.ps1<\/a><\/p>\n<p>The code is pasted below for reference:<\/p>\n<pre class=\"brush: powershell; ruler: true; auto-links: true\">\n#############################################################################\n# Install-UpdateRollups.ps1\n# Remotely installs Update Rollups on Exchange 2007 or Exchange 2010 servers\n#\n# Pre-requisites\n# --------------\n# Requires winrm enabled on destination servers. Run winrm quickconfig to enable.\n# Requires write access to $Log_Drive folder and $Install_Drive folder if \"Logs\"\n#   folder doesn't exist in $Install_Drive.\n#\n# Created by \n# Bhargav Shukla\n# http:\/\/blogs.technet.com\/bshukla\n# http:\/\/www.bhargavs.com\n# \n# DISCLAIMER\n# ==========\n# THIS CODE IS MADE AVAILABLE AS IS, WITHOUT WARRANTY OF ANY KIND. THE ENTIRE \n# RISK OF THE USE OR THE RESULTS FROM THE USE OF THIS CODE REMAINS WITH THE USER.\n#############################################################################\n\n#Update variables to reflect correct locations and Update Rollup installer file name\n$Install_Drive = \"\\\\server\\share\"\n$RU_File = \"installer.msp\"\n$Log_Drive = \"$Install_Drive\\Logs\"\n$ServerName = $Env:COMPUTERNAME\n\n# Check for RU install file\n$CheckRUPath = \"$Install_Drive\\$RU_File\"\nWrite-Host -ForegroundColor Green \"Checking for $CheckRUPath\"\nif (-not (Test-Path $CheckRUPath))\n{\n\tWrite-Host -ForegroundColor Red \"ERROR: Update Rollup File not found!\"\n\tWrite-Host -ForegroundColor Red \"ERROR: Exiting.\"\n\texit\n}\n\n# Check for Logs path, create folder if doesn't exist\n$CheckLogPath = \"$Log_Drive\"\nWrite-Host -ForegroundColor Green \"Checking for $CheckLogPath\"\nif (-not (Test-Path $CheckLogPath))\n{\n\tWrite-Host -ForegroundColor Yellow \"ERROR: Log Folder not found!\"\n\tWrite-Host -ForegroundColor Yellow \"INFO:  Creating Log Folder...\"\n\tNew-Item -Path $Install_Drive -Name Logs -itemtype directory -Force\n}\n\n# Disable \"Check for publisher's certificate revocation\"\nWrite-Host \"\"\nWrite-Host -ForegroundColor Green \"Disabling publisher's certificate revocation check...\"\nset-ItemProperty -path \"HKCU:\\Software\\Microsoft\\Windows\\CurrentVersion\\WinTrust\\Trust Providers\\Software Publishing\" -name State -value 146944\n\nWrite-Host -ForegroundColor Green \"Installing Exchange Update Rollup...\"\n\t$oProcess = [System.Diagnostics.Process]::Start(\"$Install_Drive\\$RU_File\", \" \/passive \/lv $Log_Drive\\$ServerName-InstallRollup.log \/norestart\")\n\t$oProcess.WaitForExit() \n\n# Enable \"Check for publisher's certificate revocation\"\nWrite-Host -ForegroundColor Green \"Re-enabling Check for publisher's certificate revocation...\"\nSet-ItemProperty -path \"HKCU:Software\\Microsoft\\Windows\\CurrentVersion\\WinTrust\\Trust Providers\\Software Publishing\" -name State -value 146432\n\n# Reboot if user responds [Y]es\nif ((Read-Host \"Reboot? [Y\/N]\") -eq \"Y\")\n{\nwrite-host -ForegroundColor Red \"Rebooting Server $ServerName.\"\nRestart-Computer\n}\n<\/pre>\n<h5>Update:<\/h5>\n<p>I failed to mention the effect of double-hops and delegation of authentication for the remote installation mentioned above to work. Here\u2019s why it is a problem:<\/p>\n<p>Your install files and list of servers are located on a server (let\u2019s call it ServerA). You are running the invoke-command from a client computer (let\u2019s call it ClientA) and you are going to install RU on Exchange servers (let\u2019s call it EXA, EXB and EXC). When you run the command, get-content is run is local runspace of ClientA and works fine. The next step is to pipe the servernames to invoke-command. The install script mentioned above is then called from share on ServerA. However, this is now remote runspace on exchange servers EXA, EXB and EXC. The error you will notice is when the install script checks for existence of RU file. Even if the RU file exists in mentioned share and permissions are given to account you are using to run the commands from ClientA, you will see that script errors and exits unexpectedly. It thinks the RU file doesn\u2019t exist when it actually does!<\/p>\n<p>That is because, your credentials from ClientA are passed to EXA, however, to access the file on ServerA, your credentials needs to be passed on to it. This is delegation. And we have not configured any delegation yet! This will cause script block to fail since it can\u2019t access the RU file without access.<\/p>\n<p>How can you solve this? Here are the steps:<\/p>\n<p>1. on ClientA run:<\/p>\n<pre class=\"brush: powershell\">Enable-wsmancredssp -role client \u2013delegatecomputer *<\/pre>\n<p>This will enable credssp delegation from ClientA to computers you define in \u2013delegatecomputer. In our example, we allowed delegation to all computer by using * which is ok for lab. In production environment, you may want to restrict it to your domain name (i.e. *.domain.com) or list of servers (i.e. EXA.domain.com, EXB.domain.com, EXC.domain.com).<\/p>\n<p>2. on all target servers, EXA, EXB and EXC in our example, run:<\/p>\n<pre class=\"brush: powershell\">Enable-wsmancredssp -role server<\/pre>\n<p>This will allow target servers to use credentials specified by ClientA using CredSSP to access files on ServerA.<\/p>\n<p>3. on ClientA, run the install command:<\/p>\n<pre class=\"brush: powershell\">$cred = Get-Credential\nGet-Content \u201c\\\\server\\share\\servers.txt\u201d | Foreach-Object {Invoke-Command \u2013ComputerName $_ \u2013FilePath \u201c\\\\server\\share\\Install-UpdateRollups.ps1\u201d \u2013Authentication CredSSP \u2013Credential $cred}<\/pre>\n<p>Notice the use of CredSSP and explicit specification of credentials. This is important and required for the remote install process to work.<\/p>\n<p>One more gotcha. The process above does not work if your ClientA isn\u2019t Windows 7, Vista or Windows Server 2008. This is because CredSSP isn\u2019t available to Windows XP or Windows Server 2003. You can host your share on Windows Server 2003, however, you must run step 1 and 3 from a client that is capable of using CredSSP.<\/p>\n<p>Here are some references for further reading:<\/p>\n<p><a title=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ee309365%28VS.85%29.aspx\" href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ee309365%28VS.85%29.aspx\" mce_href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ee309365%28VS.85%29.aspx\">Multi-Hop Support in WinRM<\/a><\/p>\n<p><a href=\"http:\/\/blogs.technet.com\/brad_rutkowski\/archive\/2008\/09\/26\/using-invoke-command-to-launch-a-script-on-a-remote-computer-which-connects-to-network-resources.aspx\" mce_href=\"http:\/\/blogs.technet.com\/brad_rutkowski\/archive\/2008\/09\/26\/using-invoke-command-to-launch-a-script-on-a-remote-computer-which-connects-to-network-resources.aspx\">Using invoke-command to launch a script on a remote computer which connects to network resources<\/a><\/p>\n<p><a title=\"http:\/\/technet.microsoft.com\/en-us\/library\/dd819517.aspx\" href=\"http:\/\/technet.microsoft.com\/en-us\/library\/dd819517.aspx\" mce_href=\"http:\/\/technet.microsoft.com\/en-us\/library\/dd819517.aspx\">Enable-WSManCredSSP<\/a><\/p>\n<p mce_keep=\"true\">&nbsp;<\/p>\n<p><strong><em>This article is also posted to <\/em><\/strong><a href=\"http:\/\/www.bhargavs.com\/\" mce_href=\"http:\/\/www.bhargavs.com\"><strong><em>http:\/\/www.bhargavs.com<\/em><\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are like me, you are always looking for ways to not leave your chair, or for that matter, not switch windows. When it comes to install Update Rollups [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pgc_sgb_lightbox_settings":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[52,19],"tags":[],"class_list":["post-1651","post","type-post","status-publish","format-standard","hentry","category-exchange-2010","category-powershell"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to install Update Rollups remotely on Exchange 2010 server - Bhargav&#039;s IT Playground<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bhargavs.com\/index.php\/2010\/04\/07\/how-to-install-update-rollups-remotely-on-exchange-2010-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install Update Rollups remotely on Exchange 2010 server - Bhargav&#039;s IT Playground\" \/>\n<meta property=\"og:description\" content=\"If you are like me, you are always looking for ways to not leave your chair, or for that matter, not switch windows. When it comes to install Update Rollups [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bhargavs.com\/index.php\/2010\/04\/07\/how-to-install-update-rollups-remotely-on-exchange-2010-server\/\" \/>\n<meta property=\"og:site_name\" content=\"Bhargav&#039;s IT Playground\" \/>\n<meta property=\"article:published_time\" content=\"2010-04-07T17:22:00+00:00\" \/>\n<meta name=\"author\" content=\"Bhargav\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Bhargav\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2010\\\/04\\\/07\\\/how-to-install-update-rollups-remotely-on-exchange-2010-server\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2010\\\/04\\\/07\\\/how-to-install-update-rollups-remotely-on-exchange-2010-server\\\/\"},\"author\":{\"name\":\"Bhargav\",\"@id\":\"https:\\\/\\\/bhargavs.com\\\/#\\\/schema\\\/person\\\/28f6d8c9b29f3a879483d65fc2ab5e26\"},\"headline\":\"How to install Update Rollups remotely on Exchange 2010 server\",\"datePublished\":\"2010-04-07T17:22:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2010\\\/04\\\/07\\\/how-to-install-update-rollups-remotely-on-exchange-2010-server\\\/\"},\"wordCount\":784,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/bhargavs.com\\\/#\\\/schema\\\/person\\\/28f6d8c9b29f3a879483d65fc2ab5e26\"},\"articleSection\":[\"Exchange 2010\",\"PowerShell\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2010\\\/04\\\/07\\\/how-to-install-update-rollups-remotely-on-exchange-2010-server\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2010\\\/04\\\/07\\\/how-to-install-update-rollups-remotely-on-exchange-2010-server\\\/\",\"url\":\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2010\\\/04\\\/07\\\/how-to-install-update-rollups-remotely-on-exchange-2010-server\\\/\",\"name\":\"How to install Update Rollups remotely on Exchange 2010 server - Bhargav&#039;s IT Playground\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bhargavs.com\\\/#website\"},\"datePublished\":\"2010-04-07T17:22:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2010\\\/04\\\/07\\\/how-to-install-update-rollups-remotely-on-exchange-2010-server\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2010\\\/04\\\/07\\\/how-to-install-update-rollups-remotely-on-exchange-2010-server\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2010\\\/04\\\/07\\\/how-to-install-update-rollups-remotely-on-exchange-2010-server\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bhargavs.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install Update Rollups remotely on Exchange 2010 server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bhargavs.com\\\/#website\",\"url\":\"https:\\\/\\\/bhargavs.com\\\/\",\"name\":\"Bhargav's IT Playground\",\"description\":\"Passion for Technology. Power of Collaboration.\",\"publisher\":{\"@id\":\"https:\\\/\\\/bhargavs.com\\\/#\\\/schema\\\/person\\\/28f6d8c9b29f3a879483d65fc2ab5e26\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/bhargavs.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/bhargavs.com\\\/#\\\/schema\\\/person\\\/28f6d8c9b29f3a879483d65fc2ab5e26\",\"name\":\"Bhargav\",\"logo\":{\"@id\":\"https:\\\/\\\/bhargavs.com\\\/#\\\/schema\\\/person\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/bhargavs.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to install Update Rollups remotely on Exchange 2010 server - Bhargav&#039;s IT Playground","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/bhargavs.com\/index.php\/2010\/04\/07\/how-to-install-update-rollups-remotely-on-exchange-2010-server\/","og_locale":"en_US","og_type":"article","og_title":"How to install Update Rollups remotely on Exchange 2010 server - Bhargav&#039;s IT Playground","og_description":"If you are like me, you are always looking for ways to not leave your chair, or for that matter, not switch windows. When it comes to install Update Rollups [&hellip;]","og_url":"https:\/\/bhargavs.com\/index.php\/2010\/04\/07\/how-to-install-update-rollups-remotely-on-exchange-2010-server\/","og_site_name":"Bhargav&#039;s IT Playground","article_published_time":"2010-04-07T17:22:00+00:00","author":"Bhargav","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Bhargav","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bhargavs.com\/index.php\/2010\/04\/07\/how-to-install-update-rollups-remotely-on-exchange-2010-server\/#article","isPartOf":{"@id":"https:\/\/bhargavs.com\/index.php\/2010\/04\/07\/how-to-install-update-rollups-remotely-on-exchange-2010-server\/"},"author":{"name":"Bhargav","@id":"https:\/\/bhargavs.com\/#\/schema\/person\/28f6d8c9b29f3a879483d65fc2ab5e26"},"headline":"How to install Update Rollups remotely on Exchange 2010 server","datePublished":"2010-04-07T17:22:00+00:00","mainEntityOfPage":{"@id":"https:\/\/bhargavs.com\/index.php\/2010\/04\/07\/how-to-install-update-rollups-remotely-on-exchange-2010-server\/"},"wordCount":784,"commentCount":1,"publisher":{"@id":"https:\/\/bhargavs.com\/#\/schema\/person\/28f6d8c9b29f3a879483d65fc2ab5e26"},"articleSection":["Exchange 2010","PowerShell"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/bhargavs.com\/index.php\/2010\/04\/07\/how-to-install-update-rollups-remotely-on-exchange-2010-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/bhargavs.com\/index.php\/2010\/04\/07\/how-to-install-update-rollups-remotely-on-exchange-2010-server\/","url":"https:\/\/bhargavs.com\/index.php\/2010\/04\/07\/how-to-install-update-rollups-remotely-on-exchange-2010-server\/","name":"How to install Update Rollups remotely on Exchange 2010 server - Bhargav&#039;s IT Playground","isPartOf":{"@id":"https:\/\/bhargavs.com\/#website"},"datePublished":"2010-04-07T17:22:00+00:00","breadcrumb":{"@id":"https:\/\/bhargavs.com\/index.php\/2010\/04\/07\/how-to-install-update-rollups-remotely-on-exchange-2010-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bhargavs.com\/index.php\/2010\/04\/07\/how-to-install-update-rollups-remotely-on-exchange-2010-server\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/bhargavs.com\/index.php\/2010\/04\/07\/how-to-install-update-rollups-remotely-on-exchange-2010-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bhargavs.com\/"},{"@type":"ListItem","position":2,"name":"How to install Update Rollups remotely on Exchange 2010 server"}]},{"@type":"WebSite","@id":"https:\/\/bhargavs.com\/#website","url":"https:\/\/bhargavs.com\/","name":"Bhargav's IT Playground","description":"Passion for Technology. Power of Collaboration.","publisher":{"@id":"https:\/\/bhargavs.com\/#\/schema\/person\/28f6d8c9b29f3a879483d65fc2ab5e26"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bhargavs.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/bhargavs.com\/#\/schema\/person\/28f6d8c9b29f3a879483d65fc2ab5e26","name":"Bhargav","logo":{"@id":"https:\/\/bhargavs.com\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/bhargavs.com"]}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1679,"url":"https:\/\/bhargavs.com\/index.php\/2012\/05\/03\/exchange-management-shell-error-500-internal-server-error\/","url_meta":{"origin":1651,"position":0},"title":"Exchange Management Shell Error 500 &#8211; Internal Server Error","author":"Bhargav","date":"May 3, 2012","format":false,"excerpt":"I have come across this issue enough times that even if it is documented on TechNet it deserves mention here. When you launch Exchange Management Shell or try to connect to an Exchange 2010 Server remotely using PowerShell, you get error \u201c500 \u2013 Internal Server Error. There is a problem\u2026","rel":"","context":"In &quot;Exchange 2010&quot;","block_context":{"text":"Exchange 2010","link":"https:\/\/bhargavs.com\/index.php\/category\/microsoft\/exchange-server\/exchange-2010\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1672,"url":"https:\/\/bhargavs.com\/index.php\/2011\/09\/27\/mythbusters-exchange-server-2010-and-powershell-remoting\/","url_meta":{"origin":1651,"position":1},"title":"Mythbusters\u2013Exchange Server 2010 and PowerShell Remoting","author":"Bhargav","date":"September 27, 2011","format":false,"excerpt":"A misconception that WinRM listener needs to be configured in order to be able to connect to Exchange Server 2010 had popped up a couple times in my conversations recently so I decided to clear the confusion. Guest blogging for my friends at IT Pro Africa, I have written the\u2026","rel":"","context":"In &quot;Exchange 2010&quot;","block_context":{"text":"Exchange 2010","link":"https:\/\/bhargavs.com\/index.php\/category\/microsoft\/exchange-server\/exchange-2010\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":211,"url":"https:\/\/bhargavs.com\/index.php\/2009\/12\/14\/how-do-i-check-update-rollup-version-on-exchange-20xx-server\/","url_meta":{"origin":1651,"position":2},"title":"How do I check Update Rollup version on Exchange 20xx Server?","author":"Bhargav","date":"December 14, 2009","format":false,"excerpt":"UPDATED: Feb 26, 2014, updated script to accommodate Exchange 2013 Now that Update Rollup for Exchange Server 2010 is available, I have updated my previous script to check for Update Rollup versions on both Exchange Server 2007 and Exchange Server 2010. No need to have two versions of script. Just\u2026","rel":"","context":"In &quot;Exchange 2007&quot;","block_context":{"text":"Exchange 2007","link":"https:\/\/bhargavs.com\/index.php\/category\/microsoft\/exchange-server\/exchange-2007\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":70,"url":"https:\/\/bhargavs.com\/index.php\/2009\/05\/21\/update-rollup-8-exchange-server-2007-service-pack-1-released\/","url_meta":{"origin":1651,"position":3},"title":"Update Rollup 8 for Exchange Server 2007 Service Pack 1 is released","author":"Bhargav","date":"May 21, 2009","format":false,"excerpt":"Update Rollup 8 for Exchange Server 2007 SP1 has been released. Exchange 2007 Service Pack 2 is announced.","rel":"","context":"In &quot;Exchange 2007&quot;","block_context":{"text":"Exchange 2007","link":"https:\/\/bhargavs.com\/index.php\/category\/microsoft\/exchange-server\/exchange-2007\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1664,"url":"https:\/\/bhargavs.com\/index.php\/2011\/04\/27\/how-revert-changes-made-by-enable-psremoting\/","url_meta":{"origin":1651,"position":4},"title":"How to revert changes made by Enable-PSRemoting?","author":"Bhargav","date":"April 27, 2011","format":false,"excerpt":"Have you ever been in a situation where you have PowerShell Remoting enabled and you need to put the configuration back the way it was before Enable-PSRemoting was run? While it might seem that just running Disable-PSRemoting should suffice, it turns out to be a bit more work than you\u2026","rel":"","context":"In &quot;PowerShell&quot;","block_context":{"text":"PowerShell","link":"https:\/\/bhargavs.com\/index.php\/category\/microsoft\/powershell\/"},"img":{"alt_text":"image","src":"https:\/\/i0.wp.com\/bhargavs.com\/wp-content\/uploads\/2013\/03\/image_thumb.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1673,"url":"https:\/\/bhargavs.com\/index.php\/2011\/10\/21\/powershell-script-to-edit-remote-registry\/","url_meta":{"origin":1651,"position":5},"title":"PowerShell script to edit remote registry","author":"Bhargav","date":"October 21, 2011","format":false,"excerpt":"Did you ever wanted to modify your registry or add a key\/value pair to registry? Wished there was a script to help you do that? Even better, wished it can run remotely without PowerShell WinRM listener configured on target server? I had custom script that would modify certain registry entry\u2026","rel":"","context":"In &quot;PowerShell&quot;","block_context":{"text":"PowerShell","link":"https:\/\/bhargavs.com\/index.php\/category\/microsoft\/powershell\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_shortlink":"https:\/\/wp.me\/pkROc-qD","_links":{"self":[{"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/posts\/1651","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/comments?post=1651"}],"version-history":[{"count":0,"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/posts\/1651\/revisions"}],"wp:attachment":[{"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/media?parent=1651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/categories?post=1651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/tags?post=1651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}