Forum Discussion

bhartisemwal1990's avatar
bhartisemwal1990
Copper Contributor
Oct 09, 2019

Error when calling 3rd party executable from Powershell

Currently I am facing issue executing third party .exe in PowerShell.

Everything works as expected along with below error

node.exe : Exporting services for dispatch...
At 
+ & "node$exe" 
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Exporting services for dispatch...:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError

 

I can use 2>$null to stop the output but in this case actual errors will also stop from logging.

I want to capture the actual error can somebody help me with this??

 

No RepliesBe the first to reply

Resources