Skip to content

Conversation

@sdwheeler
Copy link
Collaborator

@sdwheeler sdwheeler commented Oct 5, 2020

PR Summary

Updates pwsh -? output to match docs. Related to:

PR Context

Incorporated feedback from @mklement0 and added docs for -sshs parameter.

PR Checklist

Copy link
Member

@SteveL-MSFT SteveL-MSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per

else if (MatchSwitch(switchKey, "inputformat", "inp") || MatchSwitch(switchKey, "if", "if"))
this should be -inp

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed


-SSHServerMode | -sshs

Used for running PowerShell as an SSH subsystem. It is not intended or
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we make it a bit more specific? Like:

Used in sshd_config for running PowerShell as an SSH subsystem.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@ghost ghost added the Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept label Oct 6, 2020
@iSazonov iSazonov added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Oct 6, 2020
@ghost ghost removed the Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept label Oct 6, 2020
@ghost ghost added the Review - Needed The PR is being reviewed label Oct 13, 2020
@ghost
Copy link

ghost commented Oct 13, 2020

This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days.
Maintainer, please provide feedback and/or mark it as Waiting on Author

Copy link
Member

@SteveL-MSFT SteveL-MSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One suggestion

…Strings.resx

Co-authored-by: Steve Lee <slee@microsoft.com>
Copy link
Member

@daxian-dbw daxian-dbw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor suggestion: move [-Version] to the next line to make the lines more aligned.

…Strings.resx

Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
@anmenaga
Copy link

anmenaga commented Nov 4, 2020

CI failures are in unrelated Get-Counter CounterSet tests. Restarted.

@ghost ghost removed the Review - Needed The PR is being reviewed label Nov 4, 2020
@anmenaga anmenaga merged commit beb074d into PowerShell:master Nov 4, 2020
@adityapatwardhan adityapatwardhan added this to the 7.1.0 milestone Nov 4, 2020
@adityapatwardhan adityapatwardhan added BackPort-7.1.x-Done Backport to 7.1.x completed and removed BackPort-7.1.x-Approved labels Nov 6, 2020
daxian-dbw pushed a commit to daxian-dbw/PowerShell that referenced this pull request Nov 10, 2020
@ghost
Copy link

ghost commented Nov 11, 2020

🎉v7.1.0 has been released which incorporates this pull request.:tada:

Handy links:

@ghost
Copy link

ghost commented Nov 17, 2020

🎉v7.2.0-preview.1 has been released which incorporates this pull request.:tada:

Handy links:

Comment on lines +390 to +392
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.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Web docs was not updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BackPort-7.1.x-Done Backport to 7.1.x completed CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants