Open
Conversation
- Fix 'Powershell' -> 'PowerShell' in source, docs, XML, config, and generated script - Fix 'CCOMMAND' -> 'COMMAND' in Invoke-Remediation.ps1 and generated script - Fix 'direclty' -> 'directly' in Write-HostColorized.ps1 and generated script - Fix 'an high-level' -> 'a high-level' in Invoke-Locksmith.ps1 and generated script - Fix 'to the purposes' -> 'for the purposes' in Tests/Invoke-TSS.ps1 - Fix 'chose' -> 'choose' in README.md and Docs/index.md - Replace vague 'Ope! Something broke.' with actionable error messages in Invoke-Locksmith.ps1 (source and generated) that include the file path and exception message Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR cleans up spelling/capitalization across user-facing documentation, help content, and comments, and improves the CSV export failure messages to include actionable context (output path + exception message).
Changes:
- Standardized “PowerShell” capitalization and corrected several typos/grammar issues across docs, help XML, and scripts.
- Replaced the vague CSV export catch message with a more actionable one that includes the target file path and exception message.
- Updated the monolithic
Invoke-Locksmith.ps1to keep it in sync with the module sources.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| Tests/Invoke-TSS.ps1 | Fixes grammar in synopsis header comment (“for the purposes”). |
| README.md | Fixes “chose” → “choose” and corrects markdown paragraph formatting. |
| Public/Invoke-Locksmith.ps1 | Standardizes “PowerShell” and improves CSV export catch messages. |
| Private/Write-HostColorized.ps1 | Fixes typo in an internal comment (“directly”). |
| Private/Invoke-Remediation.ps1 | Fixes typo in a user-facing prompt (“COMMAND(S)”). |
| Private/Find-ESC15.ps1 | Standardizes “PowerShell” capitalization in remediation comment text. |
| Invoke-Locksmith.ps1 | Mirrors the same spelling/message improvements in the monolithic script. |
| en-US/Locksmith-help.xml | Standardizes “PowerShell” in help text for Invoke-Locksmith. |
| Docs/Invoke-Locksmith.md | Standardizes “PowerShell” in generated docs content. |
| Docs/index.md | Fixes “chose” → “choose” in docs index. |
| CONTRIBUTING.md | Standardizes “PowerShell” capitalization in contribution guidance. |
| .editorconfig | Fixes comment capitalization (“PowerShell files”). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Summary
Fixes confirmed spelling, grammar, and user-facing message issues identified in the repository audit.
Changes
Typo / capitalization fixes
Powershell->PowerShellthroughout source, docs, XML help,.editorconfig, and generated monolithic scriptCCOMMAND(S)->COMMAND(S)inPrivate/Invoke-Remediation.ps1(and generated script)direclty->directlyinPrivate/Write-HostColorized.ps1(and generated script)an high-level->a high-levelinPublic/Invoke-Locksmith.ps1(and generated script)to the purposes->for the purposesinTests/Invoke-TSS.ps1chose->chooseinREADME.mdandDocs/index.mdUser-facing message improvements
Ope! Something broke.with an actionable error message in both CSV export catch blocks (Modes 2 and 3) that includes the file path and the actual exception message.Scope
Validation