Skip to content

Conversation

surfingoldelephant
Copy link
Contributor

PR Summary

This PR fixes incorrect automatic variable casing used in selected files. E.g., $Args (incorrect) -> $args (correct).

Context

This is PR 9/9 in a series that ensures the correct case is consistently used for individual automatic variables, as documented in about_Automatic_Variables and verified by tab completion. As requested, the PRs are split into groups of ~40 files. Within each file, correct casing is applied to all referenced automatic variables.

Changes in scope:

  • Variables with a $ or @ sigil.
  • Variables referenced by name without a sigil.

Out of scope:

  • Preference variables (separate PRs to follow).
  • Misuse of an automatic variable (e.g., naming a function parameter as $Input).
  • Reference to the variable's value (e.g., false/False/FALSE when referring to the value of $false).

PR Checklist

  • Descriptive Title: This PR's title is a synopsis of the changes it proposes.
  • Summary: This PR's summary describes the scope and intent of the change.
  • Contributor's Guide: I have read the contributors guide.
  • Style: This PR adheres to the style guide.

Copy link

Expectations

Thanks for your submission! Here's a quick note to provide you with some context for what to expect from the docs team and the process now that you've submitted a PR. Even if you've contributed to this repo before, we strongly suggest reading this information; it might have changed since you last read it.

To see our process for reviewing PRs, please read our editor's checklist and process for managing pull requests in particular. Below is a brief, high-level summary of what to expect, but our contributor guide has expanded details.

The docs team begins to review your PR if you request them to or if your PR meets these conditions:

  • It is not a draft PR.
  • It does not have a WIP prefix in the title.
  • It passes validation and build steps.
  • It does not have any merge conflicts.
  • You have checked every box in the PR Checklist, indicating you have completed all required steps and marked your PR as Ready to Merge.

You can always request a review at any stage in your authoring process, the docs team is here to help! You do not need to submit a fully polished and finished draft; the docs team can help you get content ready for merge.

While reviewing your PR, the docs team may make suggestions, write comments, and ask questions. When all requirements are satisfied, the docs team marks your PR as Approved and merges it. Once your PR is merged, it is included the next time the documentation is published. For this project, the documentation is published daily at 3 p.m. Pacific Standard Time (PST).

Copy link
Contributor

Learn Build status updates of commit d5a2d90:

✅ Validation status: passed

File Status Preview URL Details
reference/docs-conceptual/developer/cmdlet/extending-output-objects.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/developer/format/powershell-formatting-files.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/developer/hosting/host04-sample.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/developer/hosting/host05-sample.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/developer/hosting/host06-sample.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/developer/module/how-to-write-a-powershell-module-manifest.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/developer/module/installing-a-powershell-module.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/how-to-use-docs.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/lang-spec/chapter-04.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/lang-spec/chapter-07.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/lang-spec/chapter-08.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/lang-spec/chapter-12.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/learn/deep-dives/everything-about-arrays.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/learn/deep-dives/everything-about-hashtable.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/learn/deep-dives/everything-about-switch.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/samples/Creating-.NET-and-COM-Objects--New-Object-.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/samples/Decode-PowerShell-Command-from-a-Running-Process.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/samples/Working-with-Registry-Entries.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/security/preventing-script-injection.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/security/remoting/powershell-remoting-faq.yml ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-74.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-75.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/windows-powershell/ise/How-to-Debug-Scripts-in-Windows-PowerShell-ISE.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/windows-powershell/ise/object-model/The-ISEFileCollection-Object.md ✅Succeeded View (>=powershell-5.1)
reference/docs-conceptual/windows-powershell/ise/object-model/The-ISESnippetCollection-Object.md ✅Succeeded View (>=powershell-5.1)

This comment lists only the first 25 files in the pull request.
For more details, please refer to the build report.

For any questions, please:

@sdwheeler sdwheeler merged commit aad2338 into MicrosoftDocs:main Feb 24, 2025
3 of 4 checks passed
@sdwheeler
Copy link
Collaborator

@surfingoldelephant Thanks again for all the updates.

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.

2 participants