Force IgnoreWow64Redirection in scripts

This commit is contained in:
Pat Hartl 2023-11-17 21:38:37 -06:00
parent 8a408f3a18
commit f19ef09ff8

View file

@ -33,6 +33,8 @@ namespace LANCommander.SDK.PowerShell
AddArgument("ExecutionPolicy", "Unrestricted");
AddModule(Path.Combine(Environment.CurrentDirectory, "LANCommander.PowerShell.psd1"));
IgnoreWow64Redirection();
}
public PowerShellScript UseFile(string path)