Skip to content

Clarified how -Command and -File handles parameters - #1430

Merged
JuanPablo Jofre (juanpablojofre) merged 1 commit into
MicrosoftDocs:stagingfrom
SteveL-MSFT:powershell-command-help
Jul 18, 2017
Merged

JuanPablo Jofre (juanpablojofre) merged 1 commit into
MicrosoftDocs:stagingfrom
SteveL-MSFT:powershell-command-help

Conversation

@SteveL-MSFT

@SteveL-MSFT Steve Lee (SteveL-MSFT) commented Jul 4, 2017 •

Copy link
Copy Markdown
Contributor

Removed incorrect line about -File syntax for switches which doesn't work.

Note that this doc doesn't appear to be versioned. v3-v5.1 appear to be the same. However in 6.0 we are taking a change so that $true and $false can be passed to parameters and switches with -File. Not sure how to indicate that in the doc.

Version(s) of document impacted

  • Impacts 6 document
  • Impacts 5.1 document
  • Impacts 5.0 document
  • Impacts 4.0 document
  • Impacts 3.0 document

Reason(s) for not updating all version of documents

  • The documented feature was introduced in version (list version here) of PowerShell
  • This issue only shows up in version (list version(s) here) of the document
  • This PR partially fixes the issue, and issue # tracks the remaining work

@saldana

Copy link
Copy Markdown
Contributor

❌ Validation status: errors

File Status Preview URL Details
❌Error Details

  • [Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/PowerShell/PowerShell-Docs, working directory: W:\uvzl-s, target branch: staging, target branch commit: 339b28c, source branch: 0ae6c9a919c86374850ceaa6cd17832e/powershell-command-help, source branch commit: .

For more details, please refer to the build report.

Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Removed incorrect line about -File syntax for switches which doesn't work.
@saldana

Copy link
Copy Markdown
Contributor

✅ Validation status: passed

File Status Preview URL Details
scripting/core-powershell/console/PowerShell.exe-Command-Line-Help.md ✅Succeeded

For more details, please refer to the build report.

Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@SteveL-MSFT

Copy link
Copy Markdown
Contributor Author

JuanPablo Jofre (@juanpablojofre) anything else needed for this PR from me?

@juanpablojofre
JuanPablo Jofre (juanpablojofre) merged commit 1d36ec5 into MicrosoftDocs:staging Jul 18, 2017

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks great!!
Thanks.

@SteveL-MSFT
Steve Lee (SteveL-MSFT) deleted the powershell-command-help branch July 20, 2017 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants