salt-states/windowsLaptop.sls

7 lines
391 B
Plaintext
Raw Permalink Normal View History

"Set Wifi Powersave to Maximum Performance on Battery":
cmd.run:
- name: "powercfg /SETDCVALUEINDEX SCHEME_CURRENT 19cbb8fa-5279-450e-9fac-8a3d5fedd0c1 12bbebe6-58d6-4636-95bb-3217ef867c1a 0"
"Set Wifi Powersave to Maximum Performance on AC":
cmd.run:
- name: "powercfg /SETACVALUEINDEX SCHEME_CURRENT 19cbb8fa-5279-450e-9fac-8a3d5fedd0c1 12bbebe6-58d6-4636-95bb-3217ef867c1a 0"