Setting up a Monitor Using a PowerShell Command

Home Support Server Monitoring Setting up a Monitor Using a PowerShell Command

Setting up a Monitor Using a PowerShell Command.

We support monitoring using PowerShell commands.  To do this simply click “Add Monitor” then “Windows”, then select Metric “PowerShell Command”.

 

Then fill in the Command field. In the above example we monitor for a “specific string” in the Event Logs.

Here is the example PowerShell command you would enter:

Get-EventLog Application -After (Get-Date).addMinutes(-2) -Message “*textstring*”

You would replace textstring with whatever you want to search in the log files.

Still have questions?

Call us at: 1-800-371-4841
Send us an email: support@itmanager.net
Submit a support request and we will get back to you as soon as possible!