<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; ">&nbsp;<st1:placenam
acename>&nbsp;<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; ">&nbsp;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! &nbsp;I saw this thread and I thought I would drop in on it. &nbsp;A few weeks ago I wrote a few scripts, one set that reports battery cycle count and the anothe
y charge capacity. &nbsp;The two sets are as follows: &nbsp;<br> <br> <u>BattCyclesRcpt.sh &amp; BattCapRcpt.sh<br> </u>These two scripts create dummy receipts in the form of: &nbsp;&nbsp;<br> Battery.CycleCount.x &nbsp;<br> Battery.ChargeCapacity.y &nbsp;&nbsp;<br> <br> Where where x is the Battery's cycle count, and where y is the battery's charge capacity. &nbsp;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 &amp; BattCapRecon.sh<br> </u>These two scripts set a recon field to an appropriate value. &nbsp;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. &nbsp;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: &nbsp;these scripts, while they may make it to the Resource Kit at some point, are explicitly NOT supported. &nbsp;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: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(612) 605-6625<br> <font color="#313131">Facsimile: &nbsp;&nbsp;&nbsp;&nbsp;(612) 332-9054<br> </font>.................................................................... <br> US Support: &nbsp;(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>&lt;BatteryScripts.zip&gt;</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>