You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<#.SYNOPSIS Sets the Global DSCMachineStatus variable to a value of 1.#>functionSet-DscMachineRebootRequired
{
# Suppressing this rule because $global:DSCMachineStatus is used to trigger a reboot.
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidGlobalVars','')]
<# Suppressing this rule because $global:DSCMachineStatus is only set, never used (by design of Desired State Configuration).#>
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseDeclaredVarsMoreThanAssignments','')]
[CmdletBinding()]
param
(
)
$global:DSCMachineStatus=1
}
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: