Documentation Index
Fetch the complete documentation index at: https://tally.wharflab.com/llms.txt
Use this file to discover all available pages before exploring further.
powershell/PSReviewUnusedParameter is a PSScriptAnalyzer diagnostic emitted by tally for PowerShell snippets embedded in Dockerfiles.
| Property | Value |
|---|---|
| Severity | Warning |
| Category | PSScriptAnalyzer |
| Auto-fix | No |
Description
This rule identifies parameters declared in a script, scriptblock, or function scope that have not been used in that scope.Configuration settings
By default, this rule doesn’t consider child scopes other than scriptblocks provided toWhere-Object or ForEach-Object. The CommandsToTraverse setting is a string array that allows you
to add additional commands that accept scriptblocks that this rule should examine.