Update ServerRemoteHost Version to be same as PSVersion#15809
Update ServerRemoteHost Version to be same as PSVersion#15809TravisEz13 merged 1 commit intoPowerShell:masterfrom
ServerRemoteHost Version to be same as PSVersion#15809Conversation
|
@PaulHigin I searched the Windows code base and browsed a few pages of GitHub hits and it seems that there is code checking for |
|
@SteveL-MSFT Do we want to mark this for backport? |
|
@TravisEz13 no, there's no need to backport this |
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
|
@TravisEz13 Ready to merge? |
ServerRemoteHost Version to be same as PSVersion
|
🎉 Handy links: |
|
🎉 Handy links: |
PR Summary
This change updates that
Versionmember ofServerRemoteHostto be exactly$PSVersionTable.PSVersioninstead of a fixed 1.0.0.0.PR Context
ServerRemoteHostwhich is used when using PowerShell remoting has a fixed version of 1.0.0.0. This doesn't really provide any information when retrieved via$Host.Version. Instead, it should reflect the version of PowerShell being used.PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.(which runs in a different PS Host).