Microsoft Windows Services enables you to create long-running executable applications that run in their own Windows sessions. These services can be automatically started when the computer boots, can be paused and restarted, and do not show any user interface.
We created a custom script to monitor chosen services that run on a Windows Workstation or Server leveraging the PowerShell command Get-Service.
The scripts use the WinRM protocol to access the Windows machine. It has been validated and tested on Windows 10 and Windows Server 2019 with PowerShell version 5.1.19041.2364.
You can find the Microsoft Windows Services scripts in our library. Just customize them to fit your needs.