NetIQ AppManager 7.0.x
Action_DosCommand Knowledge Script
You can create a DOS batch file that will stop and restart a service.
To create the DOS batch file:
- At a DOS prompt, type the following command: edit <givefilename>.bat
- In the file you just created, type the following text:
Net stop <servicename>
Net start <servicename>
- Press Alt+ F for the file and select Save.
- Copy this file to a location you can specify on the Actions tab of your Knowledge Script. You should store this batch file locally on the computer executing the action.
DOS commands are recommendations only. Use them at your own risk.
NetIQ Technical Support can ensure a Knowledge Script is using the DOS command, but cannot troubleshoot commands or verify your commands are usable or properly formatted. Ensure you have fully tested any DOS commands in a test environment prior to implementing them in your production network.