Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Restore Default PSSession Endpoints

$
0
0

Summary: Learn how to restore default PSSession endpoints.

Hey, Scripting Guy! Question How do I restore my default PSSession endpoints if I accidently unregistered them?

Hey, Scripting Guy! Answer Use Enable-PSRemoting to automatically rebuild the remote endpoints on your system:

Get-PSSessionConfiguration

Enable-PSRemoting –Force

#Now try it again

Get-PSSessionConfiguration

 

Name          : Microsoft.PowerShell

PSVersion     : 4.0

StartupScript :

RunAsUser     :

Permission    : BUILTIN\Administrators AccessAllowed, BUILTIN\Remote Management Users AccessAllowed

 

Name          : Microsoft.Powershell.Workflow

PSVersion     : 4.0

StartupScript :

RunAsUser     :

Permission    : BUILTIN\Administrators AccessAllowed, BUILTIN\Remote Management Users AccessAllowed

 

Name          : Microsoft.PowerShell32

PSVersion     : 4.0

StartupScript :

RunAsUser     :

Permission    : BUILTIN\Administrators AccessAllowed, BUILTIN\Remote Management Users AccessAllowed


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>