Skip to content

Conversation

@learn-build-service-prod
Copy link
Contributor

This PR was automatically created by Auto Publish system to publish changes from the main branch to the live branch.

surfingoldelephant and others added 2 commits January 7, 2026 08:58
* Update PowerShell reference README

* Update reference/README.md

---------

Co-authored-by: Sean Wheeler <[email protected]>
… example (#12622)

* Restructure about_Logical_Operators

This shifts about some of the existing content and adds a new header
for Syntax. It also adds link references and makes minor formatting
changes.

* Add -and/-or/-xor equal precedence note

* Remove PS 6+ operators from PS 5.1 doc

This removes operators added in newer PS versions from the PS 5.1
about_Operator_Precedence doc. The PS 5.1 about_Operators doc already
doesn't include new operators like ??.

* Add -and/-or precedence example

This adds an example involving both -and and -or to
about_Operator_Precedence. It demonstrates the equal precedence
between the two operators and calls out how this differs from other
languages such as C#.

It also notes that other contexts *within* PowerShell such as WQL and
the AD filter have their own operator precedence which might differ
(in both aforementioned cases, AND has higher precedence than OR).

* Minor formatting/verbiage changes

* Copy about_WQL to 7.x versions

* Copy about_WMI to 7.x

* fix link

---------

Co-authored-by: Sean Wheeler <[email protected]>
@learn-build-service-prod
Copy link
Contributor Author

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
Contributor Author

Learn Build status updates of commit 3bef92d:

✅ Validation status: passed

File Status Preview URL Details
reference/5.1/Microsoft.PowerShell.Core/About/about_Logical_Operators.md ✅Succeeded View (powershell-5.1)
reference/5.1/Microsoft.PowerShell.Core/About/about_Operator_Precedence.md ✅Succeeded View (powershell-5.1)
reference/7.4/Microsoft.PowerShell.Core/About/about_Logical_Operators.md ✅Succeeded View (powershell-7.4)
reference/7.4/Microsoft.PowerShell.Core/About/about_Operator_Precedence.md ✅Succeeded View (powershell-7.4)
reference/7.4/Microsoft.PowerShell.Core/About/about_WMI.md ✅Succeeded View (powershell-7.4)
reference/7.4/Microsoft.PowerShell.Core/About/about_WQL.md ✅Succeeded View (powershell-7.4)
reference/7.5/Microsoft.PowerShell.Core/About/about_Logical_Operators.md ✅Succeeded View (powershell-7.5)
reference/7.5/Microsoft.PowerShell.Core/About/about_Operator_Precedence.md ✅Succeeded View (powershell-7.5)
reference/7.5/Microsoft.PowerShell.Core/About/about_WMI.md ✅Succeeded View (powershell-7.5)
reference/7.5/Microsoft.PowerShell.Core/About/about_WQL.md ✅Succeeded View (powershell-7.5)
reference/7.6/Microsoft.PowerShell.Core/About/about_Logical_Operators.md ✅Succeeded View (powershell-7.6)
reference/7.6/Microsoft.PowerShell.Core/About/about_Operator_Precedence.md ✅Succeeded View (powershell-7.6)
reference/7.6/Microsoft.PowerShell.Core/About/about_WMI.md ✅Succeeded View (powershell-7.6)
reference/7.6/Microsoft.PowerShell.Core/About/about_WQL.md ✅Succeeded View (powershell-7.6)
reference/README.md ✅Succeeded

For more details, please refer to the build report.

@learn-build-service-prod learn-build-service-prod bot merged commit 8956ad0 into live Jan 7, 2026
22 of 23 checks passed
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