Examples/2-EnableAutoReboot.ps1
Configuration Example { param ( [Parameter()] [System.String[]] $NodeName = 'localhost' ) Import-DscResource -ModuleName LCMRebootNodeIfNeeded Node $AllNodes.NodeName { LCMRebootNodeIfNeeded EnableAutoReboot { RebootNodeIfNeeded = $false TaskName = 'LCM_RebootNodeIfNeeded_to_True' } } } |