Nick_M Posted March 14, 2021 Share Posted March 14, 2021 (edited) Hello all I am not sure how many of you dislike the idea of having to check USB / network hubs power settings every time windows has an update or you connect and reconnect devices. I personally find it a PITA. I did some research and came over a powershell script to do exactly that; I readapted it to cover USB Hubs, USB Connectors and Network cards. Placed it somewhere in your computer (i.e. C:\). You need to be in the directory you placed the script for it to work... Then run powershell in admin mode (right click on the start button --> Windows Powershell (admin) --> go to the location you placed the script (i.e. cd c:\) --> type "& '.\Disable Power Schedule.ps1'" It works very well :), and saves a ton of time especially if you have many USB devices like I do. Fell free to use it Nicolas Disable Power Schedule.ps1 Edited March 14, 2021 by Nicolas Morales 1 2 Link to comment Share on other sites More sharing options...
Jim Hurley Posted March 14, 2021 Share Posted March 14, 2021 Thanks for that. I made a few small changes. I added 'echo $IN' in the for loops and a final 'pause' to see the results. I needed to run: Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force in the powershell console first, because I have script execution disabled. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now