Link to home
Start Free TrialLog in
Avatar of LN41
LN41

asked on

Run a command line command from powershell

I need to run a powershell script that will run this:

from the C:\program files\castor software\ directory run this command: Lanlconfg  -list

Is there a way to do this?
Avatar of SreRaj
SreRaj
Flag of India image

Hi,

Please try executing the command in the following format.

CMD.EXE /C "C:\program files\castor software\directory\Lanlconfg.exe"  -list
ASKER CERTIFIED SOLUTION
Avatar of footech
footech
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial