This project is read-only.

Run .EXE with Powershell

Aug 15, 2012 at 5:27 PM
Edited Aug 15, 2012 at 6:13 PM

Hi,

My command to run my .exe work perfectly in powershell :

C:\Users\sp_admin\Desktop\NestedMailMerge\CSharp\bin\Debug\NestedMailMerge.exe

 

In your instruction, however, I had to write :

invoke-item "C:\Users\sp_admin\Desktop\NestedMailMerge\CSharp\bin\Debug\NestedMailMerge.exe"

 

No errors pop. But my exe does not run either. I've then tried a lot of different syntax, and even, dowgraded to the most simplistic powershell instructions, like :

Write-Output "Hello World" 

But when there is no errors, it does nothing.

I've tried to open the .exe from a powershell Script, and once again, it worked in Powershell, but not your instruction.

 

I use no Signature, I ran the command & .\Set-PowerActivityScriptSigning.ps1 $false with success.

 

Thank you all for your time.