Steps to reproduce
-
Run elevated pwsh.exe
-
Unregister any existing PowerShell Core remoting endpoint
Get-PSSessionConfiguration | Unregister-PSSessionConfiguration
- Run Install-PowerShellRemoting.ps1 from $PSHome
& $PSHome\Install-PowerShellRemoting.ps1
- List the remoting endpoints
Get-PSSessionConfiguration | ft name
- Unregister any existing PowerShell Core remoting endpoint from step 2
Get-PSSessionConfiguration | Unregister-PSSessionConfiguration
- Run Enable-PSRemoting cmdlet
- List the remoting endpoints
Get-PSSessionConfiguration | ft name
Expected behavior
After steps 3 and 5, the endpoint names should be same:
- PowerShell.6
- PowerShell.6.1.0-preview.3
Actual behavior
Endpoint names are different after steps 3 and 5
After Step 3
- PowerShell.6
- PowerShell.6.1.0-preview.3
After Step 5
- PowerShell.6
- PowerShell.v6.1.0-preview.3 (extra 'v' before version number)
Steps to reproduce
Run elevated pwsh.exe
Unregister any existing PowerShell Core remoting endpoint
Enable-PSRemotingExpected behavior
After steps 3 and 5, the endpoint names should be same:
Actual behavior
Endpoint names are different after steps 3 and 5
After Step 3
After Step 5