Force IgnoreWow64Redirection in scripts
This commit is contained in:
parent
8a408f3a18
commit
f19ef09ff8
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue