Skip to content

Fix Typo in Example 1 - Update Set-CIPolicySetting.md - #4054

Merged
Gary Moore (garycentric) merged 2 commits into
MicrosoftDocs:mainfrom
NathanJepson:patch-1
Nov 24, 2026
Merged

Gary Moore (garycentric) merged 2 commits into
MicrosoftDocs:mainfrom
NathanJepson:patch-1

Conversation

@NathanJepson

Copy link
Copy Markdown
Contributor

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

  • 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][contrib].
  • Style: This PR adheres to the [style guide][style].

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
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The 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 found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 958c96a:

✅ Validation status: passed

File Status Preview URL Details
docset/winserver2025-ps/ConfigCI/Set-CIPolicySetting.md ✅Succeeded View (WindowsServer2025-ps)

For more details, please refer to the build report.

@garycentric

Copy link
Copy Markdown
Contributor

NathanJepson this repo will be private with no public access after November 30, 2026.

@NathanJepson

Copy link
Copy Markdown
Contributor Author

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.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The 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 found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 9179fb2:

✅ Validation status: passed

File Status Preview URL Details
docset/winserver2025-ps/ConfigCI/Set-CIPolicySetting.md ✅Succeeded View (WindowsServer2025-ps)

For more details, please refer to the build report.

@garycentric
Gary Moore (garycentric) merged commit 4940dc0 into MicrosoftDocs:main Nov 24, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants