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