Added skip to setupWDAC.ps1
This commit is contained in:
@@ -24,12 +24,14 @@ function Show-WDACMenu {
|
||||
Write-Host "What would you like to do?"
|
||||
Write-Host "1. Enable WDAC"
|
||||
Write-Host "2. Disable WDAC"
|
||||
Write-Host "3. Skip"
|
||||
|
||||
$selection = Read-Host "Enter the number of your choice"
|
||||
|
||||
switch ($selection) {
|
||||
"1" { EnableWDAC }
|
||||
"2" { DisableWDAC }
|
||||
"3" { Write-Host "Skipping WDAC..." }
|
||||
default { Write-Host "Invalid selection. Please choose 1, 2, or 3." }
|
||||
}
|
||||
} while ($selection -ne "1" -and $selection -ne "2" -and $selection -ne "3")
|
||||
|
||||
Reference in New Issue
Block a user