[Casper] Battery Capacity?

Brad Rellinger aw_aca_bre at nwoca.org
Mon Mar 2 05:47:19 PST 2009


Thanks Erin.
----------
Brad Rellinger
Technology Specialist
Anthony Wayne Schools K-12
aw_aca_bre at nwoca.org

On Feb 27, 2009, at 4:35 PM, Erin Johnson wrote:

>
> Hello everyone!  I saw this thread and I thought I would drop in on  
> it.  A few weeks ago I wrote a few scripts, one set that reports  
> battery cycle count and the another that reports the battery charge  
> capacity.  The two sets are as follows:
>
> BattCyclesRcpt.sh & BattCapRcpt.sh
> These two scripts create dummy receipts in the form of:
> Battery.CycleCount.x
> Battery.ChargeCapacity.y
>
> Where where x is the Battery's cycle count, and where y is the  
> battery's charge capacity.  The down side to using receipts is that  
> x and y are going to be variable therefore there will be no way to  
> efficiently search or scope policies to these values.
>
> BattCyclesRecon.sh & BattCapRecon.sh
> These two scripts set a recon field to an appropriate value.  The  
> following available fields can be set:
> -realname The Real Name of the primary user
> -email The email address of the primary user
> -position The Position (Job Title) of the primary user
> -building The text representation of a Building in the JSS
> -department The text representation of a Department in the JSS
> -phone The Phone number of the primary user
> -room The Room that the computer is in
>
> Instructions on how to specify which recon fields the battery data  
> is stored in are within the headers of the scripts.  As for  
> searching, depending upon the field you use, you will be able to do  
> a bit more compared to the first set; however, you will not be able  
> to perform a range search.
>
> Now, for the expected disclaimer:  these scripts, while they may  
> make it to the Resource Kit at some point, are explicitly NOT  
> supported.  Use at your own risk, and all. :)
>
> Hope that helps!
>
> Erin Johnson
> Support Specialist
>
> erin.johnson at jamfsoftware.com
> ....................................................................
> JAMF Software
> 1011 Washington Ave. S
> Suite 350
> Minneapolis, MN 55415
> ....................................................................
> Office:          (612) 605-6625
> Facsimile:     (612) 332-9054
> ....................................................................
> US Support:  (612) 216-1296
> ....................................................................
> http://www.jamfsoftware.com
> <BatteryScripts.zip>_______________________________________________
> Casper mailing list
> Casper at list.jamfsoftware.com
> http://list.jamfsoftware.com/mailman/listinfo/casper

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20090302/5f6261dd/attachment.htm 


More information about the Casper mailing list