{"id":1678,"date":"2014-04-03T11:59:00","date_gmt":"2014-04-03T11:59:00","guid":{"rendered":"https:\/\/blogs.technet.microsoft.com\/heyscriptingguy\/2014\/04\/03\/powertip-restore-default-pssession-endpoints\/"},"modified":"2014-04-03T11:59:00","modified_gmt":"2014-04-03T11:59:00","slug":"powertip-restore-default-pssession-endpoints","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/scripting\/powertip-restore-default-pssession-endpoints\/","title":{"rendered":"PowerTip: Restore Default PSSession Endpoints"},"content":{"rendered":"<p><b>Summary<\/b>: Learn how to restore default PSSession endpoints.\n<img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/q-for-powertip.jpg\" alt=\"Hey, Scripting Guy! Question\">&nbsp;How do I restore my default PSSession endpoints if I accidently unregistered them?<\/p>\n<p style=\"margin-left:30px\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/a-for-powertip.jpg\" alt=\"Hey, Scripting Guy! Answer\">&nbsp;Use&nbsp;<b>Enable-PSRemoting<\/b>&nbsp;to automatically rebuild the remote endpoints on your system:<\/p>\n<p style=\"margin-left:120px\">Get-PSSessionConfiguration<\/p>\n<p style=\"margin-left:120px\">Enable-PSRemoting &ndash;Force<\/p>\n<p style=\"margin-left:120px\">#Now try it again<\/p>\n<p style=\"margin-left:120px\">Get-PSSessionConfiguration\n&nbsp;<\/p>\n<p style=\"margin-left:120px\">Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Microsoft.PowerShell<\/p>\n<p style=\"margin-left:120px\">PSVersion&nbsp;&nbsp;&nbsp;&nbsp; : 4.0<\/p>\n<p style=\"margin-left:120px\">StartupScript :<\/p>\n<p style=\"margin-left:120px\">RunAsUser&nbsp;&nbsp;&nbsp;&nbsp; :<\/p>\n<p style=\"margin-left:120px\">Permission&nbsp;&nbsp;&nbsp; : BUILTINAdministrators AccessAllowed, BUILTINRemote Management Users AccessAllowed\n&nbsp;<\/p>\n<p style=\"margin-left:120px\">Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Microsoft.Powershell.Workflow<\/p>\n<p style=\"margin-left:120px\">PSVersion&nbsp;&nbsp;&nbsp;&nbsp; : 4.0<\/p>\n<p style=\"margin-left:120px\">StartupScript :<\/p>\n<p style=\"margin-left:120px\">RunAsUser&nbsp;&nbsp;&nbsp;&nbsp; :<\/p>\n<p style=\"margin-left:120px\">Permission&nbsp;&nbsp;&nbsp; : BUILTINAdministrators AccessAllowed, BUILTINRemote Management Users AccessAllowed\n&nbsp;<\/p>\n<p style=\"margin-left:120px\">Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Microsoft.PowerShell32<\/p>\n<p style=\"margin-left:120px\">PSVersion&nbsp;&nbsp;&nbsp;&nbsp; : 4.0<\/p>\n<p style=\"margin-left:120px\">StartupScript :<\/p>\n<p style=\"margin-left:120px\">RunAsUser&nbsp;&nbsp;&nbsp;&nbsp; :<\/p>\n<p style=\"margin-left:120px\">Permission&nbsp;&nbsp;&nbsp; : BUILTINAdministrators AccessAllowed, BUILTINRemote Management Users AccessAllowed<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Summary: Learn how to restore default PSSession endpoints. &nbsp;How do I restore my default PSSession endpoints if I accidently unregistered them? &nbsp;Use&nbsp;Enable-PSRemoting&nbsp;to automatically rebuild the remote endpoints on your system: Get-PSSessionConfiguration Enable-PSRemoting &ndash;Force #Now try it again Get-PSSessionConfiguration &nbsp; Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Microsoft.PowerShell PSVersion&nbsp;&nbsp;&nbsp;&nbsp; : 4.0 StartupScript : RunAsUser&nbsp;&nbsp;&nbsp;&nbsp; : Permission&nbsp;&nbsp;&nbsp; : BUILTINAdministrators AccessAllowed, BUILTINRemote Management [&hellip;]<\/p>\n","protected":false},"author":596,"featured_media":87096,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[162,56,356,498,45],"class_list":["post-1678","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-scripting","tag-boe-prox","tag-guest-blogger","tag-powertip","tag-remote-endpoint","tag-windows-powershell"],"acf":[],"blog_post_summary":"<p>Summary: Learn how to restore default PSSession endpoints. &nbsp;How do I restore my default PSSession endpoints if I accidently unregistered them? &nbsp;Use&nbsp;Enable-PSRemoting&nbsp;to automatically rebuild the remote endpoints on your system: Get-PSSessionConfiguration Enable-PSRemoting &ndash;Force #Now try it again Get-PSSessionConfiguration &nbsp; Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Microsoft.PowerShell PSVersion&nbsp;&nbsp;&nbsp;&nbsp; : 4.0 StartupScript : RunAsUser&nbsp;&nbsp;&nbsp;&nbsp; : Permission&nbsp;&nbsp;&nbsp; : BUILTINAdministrators AccessAllowed, BUILTINRemote Management [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/1678","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/users\/596"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/comments?post=1678"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/1678\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/media\/87096"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/media?parent=1678"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/categories?post=1678"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/tags?post=1678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}