Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
description: Use -gt or -ge comparison operators instead of redirection operators
ms.date: 07/21/2026
ms.date: 07/23/2026
ms.topic: reference
title: PossibleIncorrectUsageOfRedirectionOperator
---
# PossibleIncorrectUsageOfRedirectionOperator

**Severity Level: Information**
**Severity Level: Warning**

**Default state: Always enabled**

Expand Down
6 changes: 3 additions & 3 deletions reference/docs-conceptual/PSScriptAnalyzer/Rules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ title: List of PSScriptAnalyzer rules
| [PlaceOpenBrace][43] | Warning | Disabled | Yes |
| [PossibleIncorrectComparisonWithNull][44] | Warning | Always enabled | |
| [PossibleIncorrectUsageOfAssignmentOperator][45] | Information | Always enabled | |
| [PossibleIncorrectUsageOfRedirectionOperator][46] | Information | Always enabled | |
| [PossibleIncorrectUsageOfRedirectionOperator][46] | Warning | Always enabled | |
| [ProvideCommentHelp][47] | Information | Enabled | Yes |
| [ReservedCmdletChar][48] | Error | Always enabled | |
| [ReservedCmdletChar][48] | Warning | Always enabled | |
| [ReservedParams][49] | Error | Always enabled | |
| [ReviewUnusedParameter][50] | Warning | Always enabled | Yes |
| [ShouldProcess][51] | Warning | Always enabled | |
Expand All @@ -74,7 +74,7 @@ title: List of PSScriptAnalyzer rules
| [UseCmdletCorrectly][54] | Warning | Always enabled | |
| [UseCompatibleCmdlets][55] | Warning | Always enabled | Yes |
| [UseCompatibleCommands][56] | Warning | Disabled | Yes |
| [UseCompatibleSyntax][57] | Warning | Disabled | Yes |
| [UseCompatibleSyntax][57] | Error | Disabled | Yes |
| [UseCompatibleTypes][58] | Warning | Disabled | Yes |
| [UseConsistentIndentation][59] | Warning | Disabled | Yes |
| [UseConsistentParameterSetName][60] | Warning | Disabled | Yes |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: ReservedCmdletChar
---
# ReservedCmdletChar

**Severity Level: Error**
**Severity Level: Warning**

**Default state: Always enabled**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: UseCompatibleSyntax
---
# UseCompatibleSyntax

**Severity Level: Warning**
**Severity Level: Error**

**Default state: Disabled**

Expand Down