Created
August 4, 2014 15:45
-
-
Save AnthonyMastrean/f799b5e3ab112e6d5d4b to your computer and use it in GitHub Desktop.
Battery Monitor and Event Log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Get-WmiObject -Class "BatteryStatus" -Namespace "root/WMI" | Export-Csv "batterymonitor.csv" -Append |
Author
Author
Use one of the WMI classes, Win32_Battery or BatteryStatus, scheduled tasks, and the Event Log/Viewer to get "realtime" information in a Windows friendly way!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://www.ifweassume.com/2014/07/better-living-through-data.html