{"id":5321,"date":"2015-05-25T20:14:57","date_gmt":"2015-05-25T18:14:57","guid":{"rendered":"http:\/\/dollarunderscore.azurewebsites.net\/?p=5321"},"modified":"2017-06-05T21:51:05","modified_gmt":"2017-06-05T19:51:05","slug":"configure-powershell-remoting-access-remotely","status":"publish","type":"post","link":"https:\/\/p0wershell.com\/?p=5321","title":{"rendered":"Configure PowerShell remoting access remotely"},"content":{"rendered":"<p>Only administrators can connect through PowerShell remoting (WinRM) with the default configuration, and if you are running a version older than Windows 8\/Server 2012 you wont have the &#8220;Remote Management Users&#8221; local group to add non-admins to if you want to give them access to PowerShell remoting (WinRM).<\/p>\n<p>You can configure the access list of the endpoint(s) using &#8220;Set-PSSessionConfiguration -Name Microsoft.PowerShell -ShowSecurityDescriptorUI&#8221;, but it only runs locally and if you don&#8217;t want to build the SDDLs yourself the only alternative is to use the UI enabled by the switch in that example.<\/p>\n<p>So I put together a function to enable you to simply pass an account (user or group) by name, and if you want to run it remotely, a computer name. It is really simple to use. It looks like this in action:<br \/>\n<a href=\"https:\/\/p0wershell.com\/wp-content\/uploads\/2015\/05\/PoShEndpointFunction.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5351\" src=\"https:\/\/p0wershell.com\/wp-content\/uploads\/2015\/05\/PoShEndpointFunction.png\" alt=\"PoShEndpointFunction\" width=\"883\" height=\"231\" \/><\/a><\/p>\n<p><em><strong>The code for this function as been uploaded <a href=\"https:\/\/p0wershell.com\/wp-content\/uploads\/2017\/06\/Add-PoShEndpointAccess.ps1_.txt\" target=\"_blank\">here<\/a>.<\/strong><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Only administrators can connect through PowerShell remoting (WinRM) with the default configuration, and if you are running a version older than Windows 8\/Server 2012 you wont have the &#8220;Remote Management Users&#8221; local group to add non-admins to if you want to give them access to PowerShell remoting (WinRM). You can configure the access list of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[21],"tags":[1041,1031,1051,1021],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3Zj0A-1nP","_links":{"self":[{"href":"https:\/\/p0wershell.com\/index.php?rest_route=\/wp\/v2\/posts\/5321"}],"collection":[{"href":"https:\/\/p0wershell.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/p0wershell.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/p0wershell.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/p0wershell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5321"}],"version-history":[{"count":0,"href":"https:\/\/p0wershell.com\/index.php?rest_route=\/wp\/v2\/posts\/5321\/revisions"}],"wp:attachment":[{"href":"https:\/\/p0wershell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/p0wershell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/p0wershell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}