powershell/PSDSCUseIdenticalParametersForDSC is a PSScriptAnalyzer diagnostic emitted by tally for PowerShell snippets embedded in Dockerfiles.
tally disables this rule by default because Desired State Configuration resources are out
of scope for Dockerfile
RUN analysis. Re-enable it with
include = ["powershell/PSDSCUseIdenticalParametersForDSC"] or by setting
rules.powershell.PSDSCUseIdenticalParametersForDSC.severity = "warning" in .tally.toml.Description
TheGet-TargetResource, Test-TargetResource and Set-TargetResource functions of DSC Resource
must have the same parameters.