You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enable-PSRemoting and Install-PowerShellRemoting.ps1 create version specific endpoints with different names #7119
Thought this was already fixed. I'll also fix it so that for Preview releases, it'll be PowerShell.6-Preview. I also wonder if we need to keep Install-PowerShellRemoting.ps1 as the only use different from Enable-PSRemoting is supporting specifying the location of PowerShell different than the running PowerShell, but I think you can just do:
pwsh -c enable-psremoting
Need to verify that works on Win10 IoT where you've had to use Install-PowerShellRemoting.ps1
Ilya (@iSazonov) brought up a good issue, currently if you run Enable-PSRemoting or Install-PowerShellRemoting.ps1 we setup the generic endpoint PowerShell.6 as well as the version specific endpoint PowerShell.v6.1.0-blah (using Enable-PSRemoting) or PowerShell.6.1.0-blah (using Install-PowerShellRemoting.ps1). Intent of this issue was to have Enable-PSRemoting and Install-PowerShellRemoting.ps1 standardize on the non v naming of the version specific endpoint to match the generic one.
However, the end result is that every script that wants to use the version specific one needs to apply the same formula:
@PowerShell/powershell-committee reviewed this and would prefer to drop the v from GitCommitId and have the version specific endpoint match GitCommitId. Travis Plunk (@TravisEz13) can you verify that there is no functional/packaging concern with removing the v?
Activity
HemantMahawar commentedon Jun 28, 2018
FYI .. Steve Lee (@SteveL-MSFT)
SteveL-MSFT commentedon Jun 28, 2018
Thought this was already fixed. I'll also fix it so that for
Previewreleases, it'll bePowerShell.6-Preview. I also wonder if we need to keepInstall-PowerShellRemoting.ps1as the only use different fromEnable-PSRemotingis supporting specifying the location of PowerShell different than the running PowerShell, but I think you can just do:Need to verify that works on Win10 IoT where you've had to use
Install-PowerShellRemoting.ps1SteveL-MSFT commentedon Jun 29, 2018
Ilya (@iSazonov) brought up a good issue, currently if you run
Enable-PSRemotingorInstall-PowerShellRemoting.ps1we setup the generic endpointPowerShell.6as well as the version specific endpointPowerShell.v6.1.0-blah(usingEnable-PSRemoting) orPowerShell.6.1.0-blah(usingInstall-PowerShellRemoting.ps1). Intent of this issue was to haveEnable-PSRemotingandInstall-PowerShellRemoting.ps1standardize on the nonvnaming of the version specific endpoint to match the generic one.However, the end result is that every script that wants to use the version specific one needs to apply the same formula:
This strips the
v. It seems we should simplify this to make it predictable for automation. Options:PSVersionTable.GitCommitIdto not start with av(then we have to decide whether onpwshstart we emit "PowerShell v" or just "PowerShell "ShellNameorEndpointNameproperty to PSVersionTable that is exactly the same as the version specific endpointInstall-PowerShellRemoting.ps1to put back thevso it's consistent with GitCommitId but inconsistent with PSVersionPersonally, I don't think we need the
vat all so I'd go with option 1.SteveL-MSFT commentedon Jul 11, 2018
@PowerShell/powershell-committee reviewed this and would prefer to drop the
vfrom GitCommitId and have the version specific endpoint match GitCommitId. Travis Plunk (@TravisEz13) can you verify that there is no functional/packaging concern with removing thev?SteveL-MSFT commentedon Jul 16, 2018
I talked to Travis Plunk (@TravisEz13) and he's not aware of any reason the
vis necessary. I'll update the PR to standardize on nov.Update `Enable-PSRemoting` so configuration name for Preview releases (…
Update `Enable-PSRemoting` so configuration name for Preview releases (…
Update `Enable-PSRemoting` so configuration name for Preview releases (…
Update `Enable-PSRemoting` so configuration name for Preview releases (…