<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title> &#187; sysadmin</title>
	<atom:link href="http://www.jaredperry.ca/tag/sysadmin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jaredperry.ca</link>
	<description>Entrepreneur. Programmer. Gamer.</description>
	<lastBuildDate>Wed, 05 Oct 2011 00:39:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Building Workstation Inventory</title>
		<link>http://www.jaredperry.ca/2010/04/building-workstation-inventory/</link>
		<comments>http://www.jaredperry.ca/2010/04/building-workstation-inventory/#comments</comments>
		<pubDate>Sun, 04 Apr 2010 19:37:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IT Articles]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[inventory]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.jaredperry.ca/?p=19</guid>
		<description><![CDATA[Do you currently have or need an inventory of devices on your network, including every detail about these devices? Well, if you have windows running on your workstations, then powershell could be of use. Powershell is now a built-in feature in Windows 7 and Server 2008R2, telling me it will be the standard for running [...]]]></description>
			<content:encoded><![CDATA[<p>Do you currently have or need an inventory of devices on your network, including every detail about these devices? Well, if you have windows running on your workstations, then powershell could be of use. Powershell is now a built-in feature in Windows 7 and Server 2008R2, telling me it will be the standard for running custom data mining and management scripts.</p>
<p>Powershell gives you an object oriented scripting language that allows for easy manipulation of data, for example where we are talking about getting device info, we can create a new WMI object that contains all the data about a computers BIOs very easily.</p>
<p style="padding-left: 30px;">PS C:\Documents and Settings\sysjared&gt; <em>$objBIOS = get-wmiobject -class Win32_BIOS</em><br />
PS C:\Documents and Settings\sysjared&gt; <em>$objBIOS</em></p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 95px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">SMBIOSBIOSVersion : A08</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 95px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Manufacturer      : Dell Inc.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 95px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Name              : Phoenix ROM BIOS PLUS Version 1.10 A08</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 95px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">SerialNumber      : 6XR4871</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 95px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Version           : DELL   &#8211; 7</div>
<div style="padding-left: 30px;"><em>SMBIOSBIOSVersion : A08</em></div>
<div style="padding-left: 30px;"><em>Manufacturer : Dell Inc.</em></div>
<div style="padding-left: 30px;"><em>Name : Phoenix ROM BIOS PLUS Version 1.10 A08</em></div>
<div style="padding-left: 30px;"><em>SerialNumber : 6XR3476<br />
Version : DELL   &#8211; 7</em></div>
<div style="padding-left: 30px;"><em><br />
</em></div>
<div><em><span style="font-style: normal;">So as you can see, we can get a great deal of details using powershell and the builtin WMI object cmd-lets. We now have a way to get our computer details, the next step is how can we store this data? Well in my case I decided to use the<a title="MySQL .net connector" href="http://dev.mysql.com/downloads/connector/net/" target="_blank"> MySQL .net connector</a> which I have outlined in a previous post, and have created a database to be my device inventory. Now all you have to do is put a nice face on this database, I used <a title="CakePHP" href="http://cakephp.org/" target="_blank">cakePHP</a> to quickly deploy a simple management and inventory web interface.</span></em></div>
]]></content:encoded>
			<wfw:commentRss>http://www.jaredperry.ca/2010/04/building-workstation-inventory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

