set computer sleep settings to "never"

hi ,

i’m looking for PS script or cmdlet to change the computer sleep mode to "never " remotely.

please help

Found the following via Google.

http://www.fixitscripts.com/problems/disable-power-options-that-put-a-computer-to-sleep-hibernate
https://community.futuremark.com/forum/showthread.php?106691-windows-7-how-do-i-disable-SLEEP-mode-via-command-line