PowerShell Rules
Windows automation and scripting. Manage systems, files, processes, and cloud resources with PowerShell cmdlets.
3 rules
PowerShell Coding Standards
Beginner
Enforce PowerShell coding best practices — approved verbs, CmdletBinding, PascalCase naming, no aliases in scripts, proper output handling, and PSScriptAnalyzer compliance.
globs: **/*.ps1, **/*.psm1, **/*.psd1
coding-standards, naming-conventions, cmdletbinding, psscriptanalyzer
View Rule
PowerShell Script Structure Standards
Beginner
Enforce consistent PowerShell script structure — requires statement, comment-based help, parameter blocks, begin/process/end blocks, and proper module layout.
globs: **/*.ps1, **/*.psm1, **/*.psd1
script-structure, comment-help, modules, requires
View Rule
PowerShell Security Rules
Intermediate
Enforce PowerShell security standards — no plain text credentials, no Invoke-Expression with user input, execution policy requirements, and secure string handling.
globs: **/*.ps1, **/*.psm1
security, credentials, invoke-expression, input-validation
View Rule