Add psremoting enable/disable cmdlet warning messages#9203
Merged
TravisEz13 merged 11 commits intoPowerShell:masterfrom Mar 25, 2019
PaulHigin:add-psremoting-warning
Merged
Add psremoting enable/disable cmdlet warning messages#9203TravisEz13 merged 11 commits intoPowerShell:masterfrom PaulHigin:add-psremoting-warning
TravisEz13 merged 11 commits intoPowerShell:masterfrom
PaulHigin:add-psremoting-warning
Conversation
TravisEz13
requested changes
Mar 22, 2019
| <data name="PSCoreRemotingEnableWarning" xml:space="preserve"> | ||
| <value>PowerShell remoting has been enabled only for PowerShell Core configurations and does not affect Windows PowerShell remoting configurations. Run this cmdlet in Windows PowerShell to affect all PowerShell remoting configurations.</value> | ||
| </data> | ||
| </root> No newline at end of file |
Member
There was a problem hiding this comment.
missing newline at end of file
Contributor
Author
There was a problem hiding this comment.
This is intended. No newline is needed in this case.
src/System.Management.Automation/resources/RemotingErrorIdStrings.resx
Outdated
Show resolved
Hide resolved
SteveL-MSFT
approved these changes
Mar 22, 2019
src/System.Management.Automation/resources/RemotingErrorIdStrings.resx
Outdated
Show resolved
Hide resolved
src/System.Management.Automation/resources/RemotingErrorIdStrings.resx
Outdated
Show resolved
Hide resolved
TravisEz13
reviewed
Mar 22, 2019
| : and then encoded with base64 encoding. | ||
| --> | ||
| <xsd:schema id="root" xmlns="" xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||
| <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
Member
There was a problem hiding this comment.
Suggested change
| <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | |
| <xsd:schema id="root" xmlns="" xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
TravisEz13
approved these changes
Mar 22, 2019
Contributor
Author
|
@adityapatwardhan Can this be merged? Thanks! |
TravisEz13
pushed a commit
that referenced
this pull request
Mar 25, 2019
Adds warning messages to the Enable-PSRemoting and Disable-PSRemoting cmdlets that informs the user that the cmdlets only affect PSCore6 remoting endpoint configurations and not Windows PowerShell configurations. PR Context As documented, Enable-PSRemoting and Disable-PSRemoting affects all PowerShell remoting on a Windows system, and Windows users will likely expect the cmdlets to continue working this way in PSCore6. However, these cmdlets currently affect only PSCore6 remoting endpoints when run in PSCore6 and have no effect on Windows remoting endpoints.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Summary
Adds warning messages to the Enable-PSRemoting and Disable-PSRemoting cmdlets that informs the user that the cmdlets only affect PSCore6 remoting endpoint configurations and not Windows PowerShell configurations.
PR Context
As documented, Enable-PSRemoting and Disable-PSRemoting affects all PowerShell remoting on a Windows system, and Windows users will likely expect the cmdlets to continue working this way in PSCore6. However, these cmdlets currently affect only PSCore6 remoting endpoints when run in PSCore6 and have no effect on Windows remoting endpoints.
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.[feature]to your commit messages if the change is significant or affects feature tests