Force IgnoreWow64Redirection in scripts
parent
8a408f3a18
commit
f19ef09ff8
|
@ -33,6 +33,8 @@ namespace LANCommander.SDK.PowerShell
|
||||||
|
|
||||||
AddArgument("ExecutionPolicy", "Unrestricted");
|
AddArgument("ExecutionPolicy", "Unrestricted");
|
||||||
AddModule(Path.Combine(Environment.CurrentDirectory, "LANCommander.PowerShell.psd1"));
|
AddModule(Path.Combine(Environment.CurrentDirectory, "LANCommander.PowerShell.psd1"));
|
||||||
|
|
||||||
|
IgnoreWow64Redirection();
|
||||||
}
|
}
|
||||||
|
|
||||||
public PowerShellScript UseFile(string path)
|
public PowerShellScript UseFile(string path)
|
||||||
|
|
Loading…
Reference in New Issue