Home > Windows > Automated inventory care of SIW

Automated inventory care of SIW

Due to a recent change in software, I needed to upgrade RAM in all of the older machines in the organization.  To aid me in upgrading 300+ PCs I thought it prudent to make a list of what hardware each PC had.  I have used many inventory tools in the past (the most prominent being SpiceWorks) but by far the best inventory tool I have used is SIW.  This software comes in both free and paid versions, the paid having more features.  The feature that caught my eye for the paid version was the ability to use command line to control SIW.  After reading through the documentation, I made this small script that will e-mail the results of the scan to a inventory e-mail address.remote-inventory-siw

@ECHO OFF
set INPUT=
set /P INPUT=The owner of this PC is: %=%
CLS
echo Creating and sending %INPUT%’s System Report.  Please Wait
siw /log=”%INPUT%” /email=INVENTORY EMAIL ADDRESS/subject=”%INPUT%’s report” /smtp=EMAIL SERVER /silent /nologo
CLS
CLS
ECHO %INPUT%’s Report is sent
Pause

This script allows the user to input their name, which in turn becomes the name of HTML file containing system specs along with the subject of the e-mail.  This batch file also requires the SIW.exe and SIW.lic file along with it to work.  So I threw it all togeather using freeextractor and created an install file.  Keep an eye out on making install files with freeextractor soon!

References:

http://www.gtopala.com/ – SIW
http://freeextractor.sourceforge.net/FreeExtractor/ – FreeExtractor

Advertisements
  1. Ross
    June 29, 2010 at 12:27 pm

    You should learn powershell my friend. Powershell + WMI == AMAZING!

    PS. I am a C# developer who got sucked into IT at a Ford Dealership.

    Looking forward to more posts.

    Ross

  1. No trackbacks yet.

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

%d bloggers like this: