Creating an Action Script to add / change custom computer settings

(imported topic written by Garry91)

Hi all,

Here’s my dilemma: I want enable _BESClient_Comm_CommandPollEnable only for Laptops. My plan was to create a new Task Message to enable this setting for laptops (using relevance).

How should I write my Action Script? This is what I have right now, please help!

if ((exists setting "_BESClient_Comm_CommandPollEnable"of client) then (value of setting “_BESClient_Comm_CommandPollEnable” of client = “1”))

Will this work?

Thanks,

Garry

(imported comment written by BenKus)

Hey Garry,

We recently released Tasks in the BES Support site that will set this setting for you:

http://forum.bigfix.com/viewtopic.php?id=3720

You can target it to laptops or copy the action into a custom Task/Fixlet to make your life easier…

Ben

(imported comment written by Garry91)

Ben Kus

Hey Garry,

We recently released Tasks in the BES Support site that will set this setting for you:
http://forum.bigfix.com/viewtopic.php?id=3720

You can target it to laptops or copy the action into a custom Task/Fixlet to make your life easier…

Ben

Awesome! Thanks Ben