I would like to apply a policy to all my machines in order to deselect " Put Hard Disks to sleep when Possible" for some reason the policy failed in the middle of deployment:
Executing Policy HD No Sleep...
Running script HD No Sleep...
Script exit code: 0
Script result: Fail (10)
This is my script that i used from "Extension Attribute"

