In Search of the Model Number

Well, this was pretty obvious!

I just wanted to know the model number for my inventory script. Anyways Obviously its in the HKLM_registry.data file. Didn’ you know that??? Duh!

grep -i ‘series\|Appliance’    $CPDIR/registry/HKLM_registry.data or

dmidecode | fgrep -i product

and SOMETIMES it will print out the actual Model number. Otherwise you get a weird code:

U-10-00

and have to use the table:

http://blog.lachmann.org/?p=172

Obvious.

Oh yeah, if you need the serial number.

dmidecode | egrep ‘Product|Serial Number’

Thanks to Snake Oil for the lead.

http://snakeoilresearch.blogspot.com/2010/12/what-hfashotfixes-have-been-applied-to.html

http://blog.lachmann.org/?p=172

I sure hope the new provisioning tool can do this for me some day.

Advertisements
Post a comment or leave a trackback: Trackback URL.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Helen's Loom

"Peculiar travel suggestions are dancing lessons from God." - Kurt Vonnegut

Life Stories from Dreez

These are stories from my travels. Generally I like to write stories about local people that I meet and also brag about living the retirement dream with my #1 wife Gaby. She is also my only wife.

%d bloggers like this: