<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Quick and Dirty Software Inventory with PsInfo and PowerShell</title><link>http://blogs.technet.com/otto/archive/2007/03/04/quick-and-dirty-software-inventory-with-psinfo-and-powershell.aspx</link><description>PsInfo is great for gathering asset information from Windows computers, both locally and remotely. PowerShell is great for automation and cleaning up output (among other things) as well as working with database driven data. The following examples show</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Quick and Dirty Software Inventory with PsInfo and PowerShell</title><link>http://blogs.technet.com/otto/archive/2007/03/04/quick-and-dirty-software-inventory-with-psinfo-and-powershell.aspx#690501</link><pubDate>Mon, 12 Mar 2007 23:40:49 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:690501</guid><dc:creator>Bernd</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;nice thing. But what about removed software? That should be marked as deleted. I did myself something similar but not with Powershell. &lt;/p&gt;
&lt;p&gt;I remebered the last output from psinfo -s and diff&amp;#180;ed this with the actual output, so i get all those software which has been deleted from the last run.....&lt;/p&gt;
&lt;p&gt;Regards, Bernd.&lt;/p&gt;
</description></item><item><title>re: Quick and Dirty Software Inventory with PsInfo and PowerShell</title><link>http://blogs.technet.com/otto/archive/2007/03/04/quick-and-dirty-software-inventory-with-psinfo-and-powershell.aspx#690697</link><pubDate>Tue, 13 Mar 2007 03:36:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:690697</guid><dc:creator>ottoh</dc:creator><description>&lt;p&gt;Hey Bernd,&lt;/p&gt;
&lt;p&gt;That's a good point. I looked that the above database enabled script to see what modifications would need to be made to allow removed applications to be trackable and realized that it will work as is (although I admit, that was not my intention). Every time the script is run, it will add/overwrite entries for the applications with a new time stamp, but it won't delete previous entries for a computer. Therefore one can query for specific computer and see the application audit history.&lt;/p&gt;
&lt;p&gt;Thanks for your feedback,&lt;/p&gt;
&lt;p&gt;Otto&lt;/p&gt;
</description></item><item><title>Software inventory with PsInfo and PowerShell</title><link>http://blogs.technet.com/otto/archive/2007/03/04/quick-and-dirty-software-inventory-with-psinfo-and-powershell.aspx#694655</link><pubDate>Thu, 15 Mar 2007 09:02:53 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:694655</guid><dc:creator>Nino.Mobile</dc:creator><description>&lt;p&gt;Sweet! Check out this post from Otto Helweg on using PsInfo and PowerShell (I &amp;amp;lt;3 you, PowerShell,&lt;/p&gt;
</description></item><item><title>re: Quick and Dirty Software Inventory with PsInfo and PowerShell</title><link>http://blogs.technet.com/otto/archive/2007/03/04/quick-and-dirty-software-inventory-with-psinfo-and-powershell.aspx#700630</link><pubDate>Mon, 19 Mar 2007 21:44:13 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:700630</guid><dc:creator>Ramon Martinez</dc:creator><description>&lt;p&gt;I could not run the sample scripts:&lt;/p&gt;
&lt;p&gt;error:&lt;/p&gt;
&lt;p&gt;PS C:\temp\Pstoolsv2.43&amp;gt; c:\temp\pstoolsv2.43softwareinventory.ps1&lt;/p&gt;
&lt;p&gt;File C:\temp\pstoolsv2.43\softwareinventory.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see &amp;quot;get-help about_signing&amp;quot; for more details.&lt;/p&gt;
&lt;p&gt;At line:1 char:42 + c:\temp\pstoolsv2.43\softwareinventory.ps1 &amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;/p&gt;
&lt;p&gt;PS C:\temp\Pstoolsv2.43&amp;gt;&lt;/p&gt;
</description></item><item><title>re: Quick and Dirty Software Inventory with PsInfo and PowerShell</title><link>http://blogs.technet.com/otto/archive/2007/03/04/quick-and-dirty-software-inventory-with-psinfo-and-powershell.aspx#700694</link><pubDate>Mon, 19 Mar 2007 23:40:52 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:700694</guid><dc:creator>ottoh</dc:creator><description>&lt;p&gt;Hello Ramon,&lt;/p&gt;
&lt;p&gt;The default PowerShell execution policy is to only run &amp;quot;signed&amp;quot; scripts (makes it less likely to be a vehicle for worms). In order to change this, run the following command in PowerShell:&lt;/p&gt;
&lt;p&gt;set-executionpolicy remotesigned&lt;/p&gt;
&lt;p&gt;Otto&lt;/p&gt;
</description></item><item><title>re: Quick and Dirty Software Inventory with PsInfo and PowerShell</title><link>http://blogs.technet.com/otto/archive/2007/03/04/quick-and-dirty-software-inventory-with-psinfo-and-powershell.aspx#704203</link><pubDate>Thu, 22 Mar 2007 17:52:11 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:704203</guid><dc:creator>Erin</dc:creator><description>&lt;p&gt;This is great! Thanks for this post!&lt;/p&gt;
</description></item><item><title>re: Quick and Dirty Software Inventory with PsInfo and PowerShell</title><link>http://blogs.technet.com/otto/archive/2007/03/04/quick-and-dirty-software-inventory-with-psinfo-and-powershell.aspx#761992</link><pubDate>Fri, 13 Apr 2007 20:56:19 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:761992</guid><dc:creator>Ray</dc:creator><description>&lt;p&gt;I found this info helpful but will show my ignorance on one point. You reference a database in part 2. What did you use to create this database? We are at a small, private college and have SQL Server Express installed there, as well as SQL Server itself. Would the express edition be sufficient for databases of information that would be from or used with Powershell applications?&lt;/p&gt;
&lt;p&gt;Also, I am assuming that the database was created beforehand. If the script creates it, which it does not look like it does, how does it do this? If the script does not create the tables or database, but merely updates an existing database, then please ignore this second question.&lt;/p&gt;
&lt;p&gt;Thank you in advance.&lt;/p&gt;
</description></item><item><title>re: Quick and Dirty Software Inventory with PsInfo and PowerShell</title><link>http://blogs.technet.com/otto/archive/2007/03/04/quick-and-dirty-software-inventory-with-psinfo-and-powershell.aspx#810440</link><pubDate>Mon, 23 Apr 2007 22:36:29 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:810440</guid><dc:creator>ottoh</dc:creator><description>&lt;p&gt;Hello Ray,&lt;/p&gt;
&lt;p&gt;No, the script does not create the database. It was created beforehand. Since I'm using SQL 2005, I use 'SQL Server Management Studio' to create my database(s) and table(s). This should install with the Client Tools (but might not be available for the 'express' version - never tried that one).&lt;/p&gt;
&lt;p&gt;Hope that helps,&lt;/p&gt;
&lt;p&gt;Otto&lt;/p&gt;
</description></item><item><title>Quick and Dirty Software Inventory with PSINFO and PowerShell</title><link>http://blogs.technet.com/otto/archive/2007/03/04/quick-and-dirty-software-inventory-with-psinfo-and-powershell.aspx#2180038</link><pubDate>Tue, 16 Oct 2007 04:18:07 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2180038</guid><dc:creator>Latest Newsgroup Posts</dc:creator><description>&lt;p&gt;Tonight I stumbled across this blog and thought it was interesting. [link] I like it so much I think&lt;/p&gt;
</description></item><item><title>Powershell: Real Glue!</title><link>http://blogs.technet.com/otto/archive/2007/03/04/quick-and-dirty-software-inventory-with-psinfo-and-powershell.aspx#2182666</link><pubDate>Tue, 16 Oct 2007 15:08:08 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2182666</guid><dc:creator>Austin Osuide's Windows Server and Random Rants Blog</dc:creator><description>&lt;p&gt;Last Friday Quest software made GA the RC of the ActiveRoles ADcmdlets. This, to me, is another significant&lt;/p&gt;
</description></item><item><title>re: Quick and Dirty Software Inventory with PsInfo and PowerShell</title><link>http://blogs.technet.com/otto/archive/2007/03/04/quick-and-dirty-software-inventory-with-psinfo-and-powershell.aspx#3025446</link><pubDate>Tue, 01 Apr 2008 19:49:38 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3025446</guid><dc:creator>Yusuf</dc:creator><description>&lt;p&gt;I have tried the script on a group of 100 servers, but what i find is that &amp;nbsp;while on the powershell screen it loads many applications, i find only a handful actually appear in the database. Could the strip duplicates actually strip duplicates from other servers?&lt;/p&gt;</description></item><item><title>re: Quick and Dirty Software Inventory with PsInfo and PowerShell</title><link>http://blogs.technet.com/otto/archive/2007/03/04/quick-and-dirty-software-inventory-with-psinfo-and-powershell.aspx#3065365</link><pubDate>Tue, 03 Jun 2008 15:38:20 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3065365</guid><dc:creator>Steve Irvine</dc:creator><description>&lt;p&gt;This can be done natively without pstools. It's all available in wmi.&lt;/p&gt;
&lt;p&gt;get-wmiobject -class &amp;quot;win32_Product&amp;quot; -namespace &amp;quot;root\cimv2&amp;quot; -computername sirvine | sort Name | select-object Name,Vendor,Version,Caption | export-csv sirvineaudit.csv&lt;/p&gt;</description></item><item><title>re: Quick and Dirty Software Inventory with PsInfo and PowerShell</title><link>http://blogs.technet.com/otto/archive/2007/03/04/quick-and-dirty-software-inventory-with-psinfo-and-powershell.aspx#3070574</link><pubDate>Fri, 13 Jun 2008 22:30:54 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3070574</guid><dc:creator>jbrightwell</dc:creator><description>&lt;p&gt;The script does not work for me. &amp;nbsp;It does not recognize the psinfo call made be the script. &amp;nbsp;Below is the error output.&lt;/p&gt;
&lt;p&gt;The term './psinfo.exe' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again.&lt;/p&gt;
&lt;p&gt;At line 5, position 35&lt;/p&gt;
&lt;p&gt; &amp;nbsp; $psinfoOutput = ./psinfo.exe -s Applications \\$computer&lt;/p&gt;</description></item><item><title>Otto Helweg - Management Matters : Quick and Dirty Software Inventory with PsInfo and PowerShell</title><link>http://blogs.technet.com/otto/archive/2007/03/04/quick-and-dirty-software-inventory-with-psinfo-and-powershell.aspx#3211536</link><pubDate>Wed, 11 Mar 2009 10:04:26 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3211536</guid><dc:creator>It's my life... And I live it...</dc:creator><description>&lt;p&gt;Besides creating a custom WMI report, you could use PSInfo to do something similar I believe. Combine&lt;/p&gt;
</description></item></channel></rss>