I successfully imported PowerShell Script written using C#, but it throws System.BadImageFormatException when i tried to execute it. After spending few hours, figured out my Powershell Script was compiled for x86, so i should have used
“c:\Windows\SysWOW64\WindowsPowerShell\v1.0”.
No comments:
Post a Comment