Moves calls to set $global:DSCMachineStatus = 1 into a helper function - Post Review #1
Moves calls to set $global:DSCMachineStatus = 1 into a helper function - Post Review #1

PowerShell/xPSDesiredStateConfiguration