At System Settings -> Display -> Advanced -> Energy you can this turn off or on "Prevent automatic sleeping when the display" Any idea of this is possible to control this with Jamf?
Go to Solution.
@sdagley thanks for your time
View solution in original post
@PE Running the following command via a Files and Processes payload will set the Mac to not go to sleep when it's plugged in:
/usr/bin/pmset -c sleep 0
@sdagley thanks this works also with an iMac? this one is always plugged in ;-)
@PE Yes, that should work with any Mac