Summary: Learn how to restore default PSSession endpoints. How do I restore my default PSSession endpoints if I accidently unregistered them?
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 : BUILTINAdministrators AccessAllowed, BUILTINRemote Management Users AccessAllowed
Name : Microsoft.Powershell.Workflow
PSVersion : 4.0
StartupScript :
RunAsUser :
Permission : BUILTINAdministrators AccessAllowed, BUILTINRemote Management Users AccessAllowed
Name : Microsoft.PowerShell32
PSVersion : 4.0
StartupScript :
RunAsUser :
Permission : BUILTINAdministrators AccessAllowed, BUILTINRemote Management Users AccessAllowed
0 comments