Code Monkey home page Code Monkey logo

batteryreport-script's Introduction

batteryReport-Script

This is a simple .cmd script that generates and shows a battery report for Windows devices.

Motivation

I created this project to help users monitor their battery health and performance easily.

Features

  • 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

Installation

To install this project, you need to clone or download this repository to your local machine.

Usage

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.

Contribution

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.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

batteryreport-script's People

Contributors

botyouyou avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.