Error when calling 3rd party executable from Powershell

Copper Contributor

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??

 

0 Replies