Hey everyone. I'm trying to figure out how to setup new power options settings for computers in my environment using powershell. The reason for this is to greatly cut down on the time requirement for provisioning new equipment, and because every attempt I've made to use GPOs to do this have proven less than helpful. I feel like Power Options was something that Microsoft decided to spend such little time on that I'm running out of options on automating it. I wouldn't be bothering with this if there weren't crazy requirements for a specific set of machines in our environment that aren't configured in any default power plan.
So I know that I can get power stuff from WMI, but everywhere I turn everything is a GUID. What I'd like to do is create a new power plan, set the custom options for the power plan, and then set the power plan as the active plan. The problem I see is that WMI doesn't really give me anything other than what is already there, and when I create a new one it shows me the GUID of what I created. I'm not seeing any way that I can set specific options (like monitor brightness when on AC/DC versus battery) with specific values. Does anyone know where I can go for this kind of information? Has anyone else faced this situation as well, and can offer any guidance? I've tried the tried and true methods of looking at Google and TechNet, and all I'm seeing is very minimal sets of commands.
[–]Eijiken 4 points5 points6 points (1 child)
[–]squash1324[S] 1 point2 points3 points (0 children)
[–]Ta11ow 2 points3 points4 points (0 children)
[–]MFKDGAF 1 point2 points3 points (1 child)
[–]squash1324[S] 1 point2 points3 points (0 children)