powershell/PSUseApprovedVerbs is a PSScriptAnalyzer diagnostic emitted by tally for PowerShell snippets embedded in Dockerfiles.
tally disables this rule by default for Dockerfile
RUN snippets because a RUN executes
statements inline rather than defining cmdlets, parameters, or modules with external callers. Re-enable it with
include = ["powershell/PSUseApprovedVerbs"] or by setting
rules.powershell.PSUseApprovedVerbs.severity = "warning" in .tally.toml.Description
All cmdlets must use approved verbs. Approved verbs can be found by running the commandGet-Verb.
For more information about approved verbs, see Approved Verbs for PowerShell Commands. Some
unapproved verbs are documented on the approved verbs page and point to approved alternatives. Try
searching for the verb you used to find its approved form. For example, searching for Read,
Open, or Search leads you to Get.