I am attempting to make a GPO that runs a PowerShell script at any time when occasion ID 10000 happens on a machine (when a community connection is established).
First I merely made a right away activity that runs the script at any time when Group Coverage updates. This work as anticipated. Nonetheless, it doesn’t matter what mixture of settings I used as a set off I could not get the script to run when occasion 10000 happens.
I believed it could be a difficulty with the community connection and group coverage not having the ability to be utilized, so I modified the occasion ID set off to be ID 8005, which is at any time when ‘gpupdate /power’ is run on the machine. I believe this one ought to carry out precisely just like the quick activity from above, however it by no means runs the script both.
The ultimate factor I’ve tried is simply making the duty run each 30 minutes, however its been a number of hours and a number of other gpupdate /power instructions, and nonetheless nothing.
I believe I am lacking one thing apparent about getting scheduled duties to work, so if anybody has some perception in to what I am doing improper it could be a lot appreciated!