Sample usecase - Restart Windows Machine Remotely using Powershell

Modified on Wed, 16 Jun, 2021 at 9:16 PM

In this documentation, we explain how to restart a remote windows machine using Powershell. We achieve this by invoking the app action node with the following configuration:


App Node: Powershell - Orch

App Action: Execute Command


The 'command' input is the Powershell command to restart the windows machine as following -

Restart-Computer


NOTE:

The condition for this command execution is that no user should be logged in to the system.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article