<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Erin.<br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="margin-top: 0in; margin-bottom: 0.0001pt; margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="1" face="Helvetica"><span style="font-size: 9pt; font-family: Helv
></font><o:p></o:p></div><div style="margin-top: 0in; margin-bottom: 0.0001pt; margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="1" face="Helvetica"><span style="font-size: 9pt; font-family: Helvetica; ">Brad Rellinger</span></font><o:p></o:p></div><div style="margin-top: 0in; margin-bottom: 0.0001pt; margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="1" face="Helvetica"><span style="font-size: 9pt; font-family: Helvetica; ">Technology Specialist</span></font><o:p></o:p></div><div style="margin-top: 0in; margin-bottom: 0.0001pt; margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><st1:place w:st="on"><st1:placename w:st="on"><font size="1" face="Helvetica"><span style="font-size: 9pt; font-family: Helvetica; ">Anthony</span></font></st1:placename><font size="1" face="Helvetica"><span style="font-size: 9pt; font-family: Helvetica; "> <st1:placenam
acename> <st1:placename w:st="on">Schools</st1:placename></span></font></st1:place><font size="1" face="Helvetica"><span style="font-size: 9pt; font-family: Helvetica; "> K-12</span></font><o:p></o:p></div><div style="margin-top: 0in; margin-bottom: 0.0001pt; margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="1" face="Helvetica"><span style="font-size: 9pt; font-family: Helvetica; "><a href="mailto:aw_aca_bre@nwoca.org" style="color: blue; text-decoration: underline; ">aw_aca_bre@nwoca.org</a></span></font></div></div></div></span> </div><br><div><div>On Feb 27, 2009, at 4:35 PM, Erin Johnson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div> <font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br> 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 anothe
y charge capacity. The two sets are as follows: <br> <br> <u>BattCyclesRcpt.sh & BattCapRcpt.sh<br> </u>These two scripts create dummy receipts in the form of: <br> Battery.CycleCount.x <br> Battery.ChargeCapacity.y <br> <br> 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.<br> <br> <u>BattCyclesRecon.sh & BattCapRecon.sh<br> </u>These two scripts set a recon field to an appropriate value. The following available fields can be set:<br> -realname The Real Name of the primary user<br> -email The email address of the primary user<br> -position The Position (Job Title) of the primary user<br> -building The text representation of a Building in the JSS<br> -department The text representation of a Department in the JSS<br> -phone T
imary user<br> -room The Room that the computer is in<br> <br> 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.<br> <br> 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. :)<br> <br> Hope that helps!<br> <br> </span></font><font size="1"><font face="Lucida Grande"><span style="font-size:9pt">Erin Johnson<br> Support Specialist<br> <br> <a href="erin.johnson@jamfsoftware.com">erin.johnson@jamfsoftware.com</a><br> ....................................................................<br> <font color="#313131">JAMF Software<br> 1011 Washington Ave. S <br> Suite 350<br> Minneapolis, MN 55415<br> </font>..................
......................... <br> Office: (612) 605-6625<br> <font color="#313131">Facsimile: (612) 332-9054<br> </font>.................................................................... <br> US Support: (612) 216-1296<br> .................................................................... <br> <a href="http://www.jamfsoftware.com">http://www.jamfsoftware.com</a></span></font></font><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br> </span></font> </div> <span><BatteryScripts.zip></span>_______________________________________________<br>Casper mailing list<br><a href="mailto:Casper@list.jamfsoftware.com">Casper@list.jamfsoftware.com</a><br>http://list.jamfsoftware.com/mailman/listinfo/casper<br></blockquote></div><br></body></html>