Fixes #12635 - Update and link about_WQL#12665
Fixes #12635 - Update and link about_WQL#12665michaeltlombardi merged 1 commit intoMicrosoftDocs:mainfrom
Conversation
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 |
There was a problem hiding this comment.
Pull request overview
This PR updates the about_WQL documentation across PowerShell versions 5.1, 7.4, 7.5, and 7.6 to remove deprecated Get-WmiObject references in favor of Get-CimInstance, and adds cross-reference links to this documentation from CIM cmdlet help files.
Changes:
- Replaced
Get-WmiObjectexamples withGet-CimInstancethroughout theabout_WQLdocumentation - Removed deprecated references to "Windows PowerShell" in favor of "PowerShell"
- Added
about_WQLlinks to CIM cmdlet documentation for improved discoverability
Reviewed changes
Copilot reviewed 24 out of 24 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| reference/7.6/Microsoft.PowerShell.Core/About/about_WQL.md | Updated WQL documentation to use CIM cmdlets, fixed typo "IntallDate", removed Get-WmiObject section, and corrected namespace casing |
| reference/7.5/Microsoft.PowerShell.Core/About/about_WQL.md | Same updates as 7.6 version for consistency |
| reference/7.4/Microsoft.PowerShell.Core/About/about_WQL.md | Same updates as 7.6 version for consistency |
| reference/5.1/Microsoft.PowerShell.Core/About/about_WQL.md | Same updates as 7.6 version, also removed reference to deprecated about_WMI_Cmdlets |
| reference/7.6/CimCmdlets/*.md | Added about_WQL cross-reference links to Get-CimInstance, Set-CimInstance, Remove-CimInstance, Register-CimIndicationEvent, and Invoke-CimMethod |
| reference/7.5/CimCmdlets/*.md | Added about_WQL cross-reference links to CIM cmdlets |
| reference/7.4/CimCmdlets/*.md | Added about_WQL cross-reference links to CIM cmdlets |
| reference/5.1/CimCmdlets/*.md | Added about_WQL cross-reference links to CIM cmdlets |
Comments suppressed due to low confidence (4)
reference/7.6/Microsoft.PowerShell.Core/About/about_WQL.md:278
- The comment states that 'The
Get-WmiObjectcmdlet runs the query', but the code example below (line 283) usesGet-CimInstance. Update this text to say 'TheGet-CimInstancecmdlet runs the query' for consistency.
priority is greater than or equal to 11. The `Get-WmiObject` cmdlet runs the
query.
reference/7.5/Microsoft.PowerShell.Core/About/about_WQL.md:278
- The comment states that 'The
Get-WmiObjectcmdlet runs the query', but the code example below (line 283) usesGet-CimInstance. Update this text to say 'TheGet-CimInstancecmdlet runs the query' for consistency.
priority is greater than or equal to 11. The `Get-WmiObject` cmdlet runs the
query.
reference/7.4/Microsoft.PowerShell.Core/About/about_WQL.md:278
- The comment states that 'The
Get-WmiObjectcmdlet runs the query', but the code example below (line 283) usesGet-CimInstance. Update this text to say 'TheGet-CimInstancecmdlet runs the query' for consistency.
priority is greater than or equal to 11. The `Get-WmiObject` cmdlet runs the
query.
reference/5.1/Microsoft.PowerShell.Core/About/about_WQL.md:278
- The comment states that 'The
Get-WmiObjectcmdlet runs the query', but the code example below (line 283) usesGet-CimInstance. Update this text to say 'TheGet-CimInstancecmdlet runs the query' for consistency.
priority is greater than or equal to 11. The `Get-WmiObject` cmdlet runs the
query.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
PR Summary
Update and link about_WQL
about_WQLcontent #12635PR Checklist