PowerShell – Battery Charge Status
Reference: http://poshcode.org/5687
Reference: http://poshcode.org/5687
Reference: http://poshcode.org/5988
Reference: http://poshcode.org/6000
Reference: http://poshcode.org/6036
This is a great script to add to a setup script to lock the workstation after everything is done or before everything starts Reference: http://poshcode.org/6037
Reference: http://poshcode.org/6067
Reference: http://poshcode.org/491
There are many services on Windows 7 that do not need to run, while some suggest disabling the service I tend to go on the side of caution and simply stop and set them to manual startup.
Recently while trying Kentico I had to uninstall it and found that the service didn’t properly uninstall so I found PowerShell was quickly able to remedy that problem.
This script is pieced together from various posts, I only take credit for combining the resources. There is more than initially is seen to this script, based on the code below it will write a text file on c:\ and does need admin privileges in order to run. Right around lines 358-361 should be uncommented…