In Automation Anywhere we have a command called System available in Task editor. In System command you have to select the shutdown option. Please save the task. When you will run the task you will get the message box prompting “System will shut down in 30 seconds” if you click “OK” it will shut down immediately.
We are attaching the task Shutdown.atmn and shutdown.png for your reference and areas of concern are marked in red rectangle
Please copy Shutdown.atmn to My Documents\Automation Anywhere\Automation Anywhere\My Tasks