network settings and power settings via script

Is there a script that will scan all network adapters on the system
and for each one found remove the check box that says allow the computer to turn off this device to save power.

also a script that will switch to high performance power plan in control panel power options

and also modify a few settings in the high performance power plan.
LVL 5
IndyrbAsked:
Who is Participating?
 
VB ITSConnect With a Mentor Specialist ConsultantCommented:
Is there a script that will scan all network adapters on the system
and for each one found remove the check box that says allow the computer to turn off this device to save power.
Here's a link to a good script which can do this for you in PowerShell. Even has screenshots of the commands you need to run once you've downloaded it: https://gallery.technet.microsoft.com/scriptcenter/Disable-turn-off-this-f74e9e4a

also a script that will switch to high performance power plan in control panel power options
You can do this with a few clicks of your mouse, why do you want a script to do this? Or are you referring to using a key combination (i.e. hotkey) or some sort of system tray utility? If you're after a system tray utility (icon that sits on the bottom right corner of your screen) then I would recommend Power Plan Assistant which can be found here: http://www.powerplan7.com/features.htm

and also modify a few settings in the high performance power plan.
What settings are you referring to here? You normally do this through Power Options in Control Panel if it's only a one-time change. If you need to change between settings often then create your own custom power plan(s) with your desired settings. See here for steps to create your own power plan in Windows 7: http://windows.microsoft.com/en-au/windows/change-create-delete-power-plan-scheme#1TC=windows-7

If you decide to install Power Plan Assistant then you can create custom plans through the software instead.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.