我正在将switch语句嵌套在一个函数中的switch语句中,该函数应该返回一个值,以便在将来的构建器中使用,但由于某种原因,使用调试器时,我注意到switch语句返回的值并不能完全返回函数的returnfunction case (1): case (3): // hour checker switch functio
function go ($jumpto, [switch]$DisableAliasCD, [switch]$ResetGoHash, [switch]$ResetCDHistory) {}
if (Test-Path Alias:cd) { Remove-Item -Path Alias:cd } # Remove the defaultPS v6 so have to use Remove-Item with the Alias PSPro