<HTML>
<HEAD>
<TITLE>Re: [Casper] Asset Tags in casper</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Currently we have zero naming convention, but that may or may not change in the future. &nbsp;If it does, asset tag will likely be incorporated into the machine name, thus negating my need to track it. &nbsp;However, I&#8217;m not relying on anything changing (this is Government after all :) ) and I&#8217;d like to get this set up. &nbsp;<BR>
<BR>
Some folks do name their machines with their asset tag number (bless them) though this is more rare. &nbsp;All I really want to do is prompt a simple box that asks for the asset tag number with a clear and OK button. &nbsp;On OK, it&#8217;ll do a touch /Library/Application\ Support/JAMF/Recipts/$assettag.pkg so it&#8217;ll show up as a receipt in Casper. &nbsp;Then I can plunk in the number easily. &nbsp;<BR>
<BR>
Would there be a way to perform a database write function to make this happen to take the manual interaction out completely?<BR>
<BR>
j<BR>
<BR>
<BR>
On 5/4/09 13:32 , &quot;Thomas Larkin&quot; &lt;<a href="tlarki@kckps.org">tlarki@kckps.org</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'> &nbsp;&nbsp;<BR>
<BR>
&nbsp;</SPAN></FONT><FONT SIZE="4"><FONT FACE="Lucida Grande"><SPAN STYLE='font-size:14pt'>do you use the asset tag anywhere in the image? &nbsp;for example we use the asset tag as part of the computer name, so I would be easily scriptable from that perspective. &nbsp;&nbsp;Do you guys log the asset tags anywhere?<BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
___________________________<BR>
Thomas Larkin<BR>
TIS Department<BR>
KCKPS USD500<BR>
<a href="tlarki@kckps.org">tlarki@kckps.org</a><BR>
blackberry: &nbsp;913-449-7589<BR>
office: &nbsp;913-627-0351<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
&gt;&gt;&gt; &quot;Nichols, Jared&quot; &lt;<a href="jared.nichols@ll.mit.edu">jared.nichols@ll.mit.edu</a>&gt; 05/04/09 12:10 PM &gt;&gt;&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
<BR>
&nbsp;Hi-<BR>
<BR>
So I keep track of computers&#8217; asset tag numbers in Casper.  Right now it&#8217;s a manual process whereby I ask the user what their asset tag number is and then I plunk it into Casper.  We&#8217;re going to be going to production soon and this would require a lot of manual overhead on my (or any other admin&#8217;s) part.  Ideally, I&#8217;d like to prompt the user for this information and then store it in Casper.  I know how to prompt a user on the command line (e.g. Use a script for this), store it and then write it out to a dummy receipt file, but I&#8217;d like it to look better.  What&#8217;s the best way to do this?  I could make an AppleScript studio app to do it, but I don&#8217;t know if that&#8217;s the best way.  I don&#8217;t know any cocoa, but I have a feeling that would be the best way to go &#8211; perhaps that&#8217;d be a good &#8220;first app&#8221; to create?<BR>
<BR>
Thoughts?<BR>
<BR>
j<BR>
---<BR>
Jared F. Nichols<BR>
Desktop Engineer, Infrastructure and Operations<BR>
Information Services Department<BR>
MIT Lincoln Laboratory<BR>
244 Wood Street<BR>
Lexington, Massachusetts 02420<BR>
781.981.5436<BR>
<BR>
&nbsp;<BR>
&nbsp;<BR>
&nbsp;<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
---<BR>
Jared F. Nichols<BR>
Desktop Engineer, Infrastructure and Operations<BR>
Information Services Department<BR>
MIT Lincoln Laboratory<BR>
244 Wood Street<BR>
Lexington, Massachusetts 02420<BR>
781.981.5436 <BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>