mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-15 10:23:37 +00:00
Update dg-readiness-tool.md
https://devblogs.microsoft.com/scripting/enforce-better-script-practices-by-using-set-strictmode/
This commit is contained in:
@ -25,6 +25,8 @@ appliesto:
|
||||
|
||||
param([switch]$Capable, [switch]$Ready, [switch]$Enable, [switch]$Disable, $SIPolicyPath, [switch]$AutoReboot, [switch]$DG, [switch]$CG, [switch]$HVCI, [switch]$HLK, [switch]$Clear, [switch]$ResetVerifier)
|
||||
|
||||
Set-StrictMode -Version Latest
|
||||
|
||||
$path = "C:\DGLogs\"
|
||||
$LogFile = $path + "DeviceGuardCheckLog.txt"
|
||||
|
||||
|
Reference in New Issue
Block a user