Convert bool param to Switch

This commit is contained in:
Manuel Thalmann 2024-03-20 21:26:11 +01:00
parent d4bb4f0498
commit 4c224f411e

View file

@ -6,7 +6,7 @@ $null = New-Module {
[string]$Category = $null,
[Parameter(Position=0, Mandatory=$true)]
[string]$Statement,
[bool]$Overwrite = $false
[switch]$Overwrite = $false
)
[System.Collections.Generic.List[string]] $shells = @();