Syntax Fix

This commit is contained in:
2024-01-29 10:43:34 +01:00
parent faf58b644f
commit 8c3d6c906c
3 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ function DisableRDP {
function SetupRDP {
param (
[bool] enable
[bool] $enable
)
if ($enable) {
EnableRDP

View File

@@ -39,7 +39,7 @@ function Show-WDACMenu {
function SetupWDAC {
param (
[bool] enable
[bool] $enable
)
if ($enable) {
if (Test-Path -Path "C:\Windows\System32\CodeIntegrity\CiPolicies\Active\{b4d6b24c-c3ad-44e5-9dea-72c1ed9577b8}.cip") {