Repository navigation
Conversation
Document potential compatibility issues when accessing event logs on remote computers across certain Windows and Windows Server versions.
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 5809539: ✅ Validation status: passed
For more details, please refer to the build report. |
There was a problem hiding this comment.
🔵 Needs a closer look
The specific Windows compatibility claims remain unverified and need human validation before publication.
1 open issue
What changed in this PR
Adds a Windows-version compatibility warning to the PowerShell 5.1 Limit-EventLog documentation to help users distinguish remote-access failures from incorrect command usage.
Changes:
- Notes possible compatibility issues across the Windows 11 24H2 and Windows Server 2025 version boundaries.
- Changes documentation only; cmdlet behavior is unchanged.
| File | Description |
|---|---|
reference/5.1/Microsoft.PowerShell.Management/Limit-EventLog.md |
Adds a compatibility note for remote event log operations. |
Review effort: Balanced
| > [!Note] | ||
| > When you use the command with a remote computer, an error might occur due to compatibility issues between Windows 11, version 24H2 or later and Windows 11, version 23H2 or earlier. A similar compatibility issue might occur between Windows Server 2025 or later and Windows Server 2022 or earlier. |
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 d1918b2: ✅ Validation status: passed
For more details, please refer to the build report. |
|
Hi PowerShell-Docs maintainers, I've requested a review from GitHub Copilot, and all validation checks have passed. Could a maintainer please perform the final review and merge this PR if there are no outstanding issues? Thanks for your help! |

Summary
Adds a note about potential compatibility issues when running the command against a remote computer across certain Windows and Windows Server versions.
This helps users understand that errors might be caused by version compatibility issues rather than incorrect command usage.