Convert -Force to switch

This commit is contained in:
Alexander (Sasha) Nosov
2023-07-05 16:04:59 -07:00
parent 22fa4c81c6
commit 7e51b78765
@@ -36,7 +36,7 @@ param (
[ValidateSet("Yes","No", IgnoreCase=$false)]
[string] $EnableESU,
[Parameter (Mandatory= $true)]
[boolean] $Force=$false
[switch] $Force
)
function CheckModule ($m) {