This should work as it does under Install and Launch Action Sets, but since this is a Filter requirement the output of the script should be either 0 or 1, false or true.

This would also be a managable workaround for many of the Ideas requests for Filter/requierments.

Example: want to check for AD group member ship use this script "net group /domain <groupname> | findstr /i %computername%"

If above returns true or %errorlevel% =0 the device is a member of the AD groups, if not, it is not.

Comments