This one was requested by a number of customers for some time, I added this to some script libraries however by no means really launched it on the weblog so I figured it’s a great way to get again into running a blog.
The monitor is fairly easy; first we run a command to test every battery within the system, we add this to an object. This object incorporates the reported details about the battery, How a lot cost it ought to have, in keeping with the producer, how a lot cost it’s really holding, and the place the battery got here from and a few figuring out properties.
This script has been examined on a variety of gadgets, however after all, some gadgets would possibly fail at battery detection, or some simply don’t report any quantity. If that’s the case, the script simply writes this to the host with out exiting.
The Script
Load this script up in your RMM for ease of execution, and have enjoyable. 🙂
|
|
And as all the time, Blissful PowerShelling 🙂