This is a simple .cmd script that generates and shows a battery report for Windows devices.
I created this project to help users monitor their battery health and performance easily.
- Generates a battery report in HTML format using the powercfg command
- Opens the battery report in the default browser using the start command
- Checks if the script has admin privileges using the net session command
- Displays a message to the user if the script is not running as admin using the echo command
To install this project, you need to clone or download this repository to your local machine.
To use this project, you need to run the .cmd script as admin. You can do this by right-clicking the .cmd file and choosing "Run as administrator". Alternatively, you can use the Run box, the Start menu, or the Power User menu to launch the Command Prompt as admin, and then run the script from there.
To contribute to this project, you can fork this repository and make your changes. Then you can create a pull request to merge your changes to the main branch.
This project is licensed under the MIT License. See the LICENSE file for more details.