Sometimes, it may be necessary to restart the agent on a server or VM. This requires administrative/sudo privileges. The below commands show how to restart the agent, both when running locally or remotely.
Linux - Locally
Use the following commands to manage service
Linux - Remotely
Windows - Locally
Option 1 - From PowerShell - Run as Administrator
Option 2 - From Task Manager
Under Details tab of the Task Manager, right click on zasa.exe, click "End task". This will stop and automatically start the agent process with a new PID.
Windows - Remotely
From a PowerShell (Run as Administrator) on a management machine:
NOTE - You will be prompted for credentials for the remote Administrator
NOTE - The remote machine may require the enablement of PowerShell remote management, which can be enabled through command such as below: