{"id":78,"date":"2014-09-03T00:00:00","date_gmt":"2013-01-01T00:00:00","guid":{"rendered":"https:\/\/www.sqlhammer.com\/blog\/configuring-powershell-remoting-with-group-policy"},"modified":"2026-03-18T21:51:10","modified_gmt":"2026-03-18T21:51:10","slug":"configuring-powershell-remoting-with-group-policy","status":"publish","type":"post","link":"https:\/\/sqlhammer.com\/index.php\/2014\/09\/03\/configuring-powershell-remoting-with-group-policy\/","title":{"rendered":"Configuring PowerShell Remoting with Group Policy"},"content":{"rendered":"<p>Last week I promised a post on enabling PowerShell Remoting when we discussed <a href=\"http:\/\/www.sqlhammer.com\/blog\/automate-service-account-password-changes-with-powershell\/\">automating service account password updates<\/a>. So, let\u2019s break down the two methods.<\/p>\n<p>First we have the manual method. For this, all you need to do is remote desktop into the machine that you want to enable PowerShell Remoting on and execute the <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/dd819498.aspx\">Enable-PSRemoting<\/a> cmdlet in a PowerShell console window, running as administrator.<\/p>\n<p>So that was easy but very ineffective when managing a large number of servers. Which brings us to the Group Policy method.\u00a0With Group Policy you can have\u00a0all your servers inherit the necessary configurations when they process a Group Policy update.<\/p>\n<p>Fortunately for us, there have already been a couple of great procedures written on this.<\/p>\n<p><a href=\"http:\/\/blog.powershell.no\/2010\/03\/04\/enable-and-configure-windows-powershell-remoting-using-group-policy\/\">Check out this procedure, from blog.powershell.no, which covers Windows 7 and later or Windows Server 2008 R2 and later<\/a>.<\/p>\n<p><a href=\"http:\/\/jfrmilner.wordpress.com\/2010\/10\/13\/configure-powershell-remoting-using-group-policy-on-legacy-domains\/\">Check out this procedure, from Jfrmilner\u2019s Tech Blog, which covers Windows 2003 and Windows Xp<\/a>.<\/p>\n<hr \/>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/dh.jpg\" alt=\"\" \/><strong>Written by Derik Hammer of <a href=\"http:\/\/www.sqlhammer.com\/\">SQL Hammer<\/a><\/strong><\/p>\n<p>Derik is a data professional focusing on Microsoft SQL Server. His passion focuses around <a href=\"http:\/\/www.sqlhammer.com\/blog\/category\/high-availability\/\">high-availability<\/a>, <a href=\"http:\/\/www.sqlhammer.com\/blog\/category\/general\/disaster-recovery\/\">disaster recovery<\/a>, continuous integration, and automated maintenance. his experience has spanned long-term database administration, consulting, and\u00a0entrepreneurial ventures.<\/p>\n<p>Derik gives the SQL community credit for plugging the gaps in his knowledge when he was a junior DBA and, now that his skills have matured, started <a href=\"http:\/\/www.sqlhammer.com\/\">SQLHammer.com<\/a> as one small way to give back and continue the cycle of shared learning.<\/p>\n<p>Derik is the owner and lead author of SQL Hammer, a <a href=\"http:\/\/www.sqlhammer.com\/\">Microsoft SQL Server resource<\/a>.<\/p>\n<p>For more information, visit <a href=\"http:\/\/www.sqlhammer.com\/\">http:\/\/www.sqlhammer.com<\/a>. Follow Derik on <a href=\"http:\/\/twitter.com\/SQLHammer\">Twitter<\/a> for <strong>SQL tips and chat<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week I promised a post on enabling PowerShell Remoting when we discussed automating service account password updates. So, let\u2019s break down the two methods. First we have the manual method. For this, all you need to do is remote desktop into the machine that you want to enable PowerShell Remoting on and execute the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":523,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-78","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/sqlhammer.com\/index.php\/wp-json\/wp\/v2\/posts\/78","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sqlhammer.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sqlhammer.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sqlhammer.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sqlhammer.com\/index.php\/wp-json\/wp\/v2\/comments?post=78"}],"version-history":[{"count":1,"href":"https:\/\/sqlhammer.com\/index.php\/wp-json\/wp\/v2\/posts\/78\/revisions"}],"predecessor-version":[{"id":341,"href":"https:\/\/sqlhammer.com\/index.php\/wp-json\/wp\/v2\/posts\/78\/revisions\/341"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sqlhammer.com\/index.php\/wp-json\/wp\/v2\/media\/523"}],"wp:attachment":[{"href":"https:\/\/sqlhammer.com\/index.php\/wp-json\/wp\/v2\/media?parent=78"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sqlhammer.com\/index.php\/wp-json\/wp\/v2\/categories?post=78"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sqlhammer.com\/index.php\/wp-json\/wp\/v2\/tags?post=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}