Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Invoke remote comand line tool

$
0
0

I need to invoke a command line tool (imagine cmd or netsh) which can complete and return or remain interactive.

If I try Invoke-Command with cmd it returns without and error but doesn't remain interactive.

However, if I do it with my tool, I get this error:

Last compiled Sep 27 2012 07:53:09
  Port Number: 7188+ CategoryInfo          : NotSpecified: (:String) [], RemoteException+ FullyQualifiedErrorId : NativeCommandError+ PSComputerName        : MyServer
dlmcv - Copyright (C) 2011-2012, MyCorporation.
        All rights reserved

Is there a way to invoke and stay interactive?

How can I find out what this NativeCommandError was?


Paulo Morgado


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>