Repository navigation
Fix Typo in Example 1 - Update Set-CIPolicySetting.md - #4054
Conversation
Fix typo in example 1. The reason is that supplying "$True" actually results in a typo in the XML file where "True" is capitalized -- this doesn't fit the XML specifications of code integrity policies, and actually leads to an error. (See PowerShell/PowerShell#21286 for a discussion on this). This change makes example 1 conform to other Microsoft documentation which uses a correct example of this cmdlet, see: https://learn.microsoft.com/en-us/windows/security/application-security/application-control/app-control-for-business/design/allow-com-object-registration-in-appcontrol-policy
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit 958c96a: ✅ Validation status: passed
For more details, please refer to the build report. |
|
NathanJepson this repo will be private with no public access after November 30, 2026. |
|
Gary Moore (@garycentric) Do you think this typo can be fixed before November 30th? It is literally the simplest typo to fix; you just need to remove one character and make another character lowercase. I've thoroughly documented why it needs to be changed and included another Microsoft page with a correct example. It's very unfortunate that a simple fix for a typo is open for over an entire year; I opened this last November. |
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit 9179fb2: ✅ Validation status: passed
For more details, please refer to the build report. |
PR Summary
Fix typo in example 1.
The reason is that supplying "$True" actually results in a typo in the XML file where "True" is capitalized -- this doesn't fit the XML specifications of code integrity policies, and actually leads to an error. (See PowerShell/PowerShell#21286 for a discussion on this particular bug).
This change makes example 1 conform to other Microsoft documentation which uses a correct example of this cmdlet, see: https://learn.microsoft.com/en-us/windows/security/application-security/application-control/app-control-for-business/design/allow-com-object-registration-in-appcontrol-policy
PR Checklist