Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Dunbar

#1
General Support / Server Actions Remote Execute
December 11, 2017, 04:54:26 PM
Hi

I try to remote execute a powershell script triggert over event processing policy.
The action Type is " execute command on remote node via agent"  .

The agent config file looks like:
ActionShellExec = dienst.restart:C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe C:\Windows\system32\WindowsPowerShell\v1.0\dienstrestarttest.ps1

The powershell script "dienstrestarttest.ps1"  should restart the printer spooler service, but it doesn´t.

The alarm browser shows the event correct.

#2
General Support / File.Count
January 25, 2017, 03:27:22 PM
Hi all

I want to check whether there is a new file every day in a specific folder or not
How to configure the threshold for this case ?
I tried
Function : Last Polled Value
Operation: == equal to    Value ?
My problem is the Value .Because file.count in the folder is growing, not a fixed value.
One day it is 20 ,weeks later maybe 50. So how to compare this with  "yesterday" ?