1 2 3 4 5 6
Param( [bool]$boolvariable ) Write-Output $boolvariable.GetType().FullName Write-Output $boolvariable