結果 : powershell pass switch to function