diff --git a/Helpers.ps1 b/Helpers.ps1 index 6da0e68c..d801ad95 100644 --- a/Helpers.ps1 +++ b/Helpers.ps1 @@ -463,7 +463,7 @@ function Write-InvocationLog { if ($param.Value -is [switch]) { - $params += "-$($param.Key):`$$($param.Value.ToBool())" + $params += "-$($param.Key):`$$($param.Value.ToBool().ToString().ToLower())" } else {