What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Services matching a string

Votes:

0

I am after a script that can look for all services on a Windows server that match a string, like 'websiteapi_' and effectively alert when they are down. This would need to ignore services that are disabled. I would settle for a script that just returned a list of those not running and alerted if any results are returned.

Any ideas?

match serivce strint windows

Created on Dec 8, 2021 8:57:35 AM



1 Reply

Votes:

0

Hi Adrian,

I found a KB article that has a script which does something similar, maybe that will help: https://kb.paessler.com/en/topic/72237-monitoring-multiple-services-using-one-powershell-script


Kind regards,
Sasa Ignjatovic, Tech Support Team

Created on Dec 10, 2021 7:49:54 AM by  Sasa Ignjatovic [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.