Update pwsh -? output to match docs#13748
Conversation
SteveL-MSFT
left a comment
There was a problem hiding this comment.
I like the overall changes, but they really should have been in a separate PR to make review easier. No need to split it this time.
| $env:PSExecutionPolicyPreference environment variable does not exist on | ||
| non-Windows platforms. | ||
|
|
||
| -InputFormat | -in | -if |
There was a problem hiding this comment.
Per
-inp
|
|
||
| -SSHServerMode | -sshs | ||
|
|
||
| Used for running PowerShell as an SSH subsystem. It is not intended or |
There was a problem hiding this comment.
Should we make it a bit more specific? Like:
Used in sshd_config for running PowerShell as an SSH subsystem.
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
src/Microsoft.PowerShell.ConsoleHost/resources/ManagedEntranceStrings.resx
Outdated
Show resolved
Hide resolved
src/Microsoft.PowerShell.ConsoleHost/resources/ManagedEntranceStrings.resx
Outdated
Show resolved
Hide resolved
…Strings.resx Co-authored-by: Steve Lee <slee@microsoft.com>
daxian-dbw
left a comment
There was a problem hiding this comment.
Minor suggestion: move [-Version] to the next line to make the lines more aligned.
src/Microsoft.PowerShell.ConsoleHost/resources/ManagedEntranceStrings.resx
Outdated
Show resolved
Hide resolved
…Strings.resx Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
|
CI failures are in unrelated |
|
🎉 Handy links: |
|
🎉 Handy links: |
| Does not present an interactive prompt to the user. Any attempts to use | ||
| interactive features, like Read-Host or confirmation prompts, result in | ||
| statement-terminating errors. |
There was a problem hiding this comment.
Web docs was not updated.
PR Summary
Updates
pwsh -?output to match docs. Related to:about_PwshMicrosoftDocs/PowerShell-Docs#6548PR Context
Incorporated feedback from @mklement0 and added docs for
-sshsparameter.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.