Skip to content

PSUseDeclaredVarsMoreThanAssignments unaware of global/env variables #663

Open
@mhendric

Description

@mhendric

The PSUseDeclaredVarsMoreThanAssignments rule should not fire when setting '$global:DSCMachineStatus = 1' within a DSC resource to signal that the machine needs a reboot.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions