<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: PowerShell : How do I find the latest patches installed on a remote system ?</title>
	<atom:link href="http://www.shariqsheikh.com/blog/index.php/200901/powershell-tip-1-find-out-the-lastest-patches-installed-on-a-remote-system/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shariqsheikh.com/blog/index.php/200901/powershell-tip-1-find-out-the-lastest-patches-installed-on-a-remote-system/</link>
	<description>- activity of Active Directory and the rest</description>
	<lastBuildDate>Sun, 22 Jan 2012 10:02:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mike</title>
		<link>http://www.shariqsheikh.com/blog/index.php/200901/powershell-tip-1-find-out-the-lastest-patches-installed-on-a-remote-system/comment-page-1/#comment-1274</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 19 Aug 2011 15:06:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.shariqsheikh.com/blog/?p=122#comment-1274</guid>
		<description>I am running Get-WmiObject -Class Win32_QuickFixEngineering -ComputerName testworkstation &#124; select description,hotfixid,installedon &#124; export-csv c:\Testworkstation_Hotfixes.csv

but when I check the output file I don&#039;t see any values populated under &quot;Installed On&quot;.  How do I get the date to show up for each of the KBs listed?

I need to validate the KB and date of installation...

Any help would be greatly appreciated!!!  Thanks!</description>
		<content:encoded><![CDATA[<p>I am running Get-WmiObject -Class Win32_QuickFixEngineering -ComputerName testworkstation | select description,hotfixid,installedon | export-csv c:\Testworkstation_Hotfixes.csv</p>
<p>but when I check the output file I don&#8217;t see any values populated under &#8220;Installed On&#8221;.  How do I get the date to show up for each of the KBs listed?</p>
<p>I need to validate the KB and date of installation&#8230;</p>
<p>Any help would be greatly appreciated!!!  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlo</title>
		<link>http://www.shariqsheikh.com/blog/index.php/200901/powershell-tip-1-find-out-the-lastest-patches-installed-on-a-remote-system/comment-page-1/#comment-23</link>
		<dc:creator>Carlo</dc:creator>
		<pubDate>Tue, 07 Apr 2009 12:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.shariqsheikh.com/blog/?p=122#comment-23</guid>
		<description>Sorry mate, forgot the &quot; &#124; select -Last 10 &#124; &quot; in the WQL. Can you please update ?
Thx</description>
		<content:encoded><![CDATA[<p>Sorry mate, forgot the &#8221; | select -Last 10 | &#8221; in the WQL. Can you please update ?<br />
Thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlo</title>
		<link>http://www.shariqsheikh.com/blog/index.php/200901/powershell-tip-1-find-out-the-lastest-patches-installed-on-a-remote-system/comment-page-1/#comment-22</link>
		<dc:creator>Carlo</dc:creator>
		<pubDate>Tue, 07 Apr 2009 12:00:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.shariqsheikh.com/blog/?p=122#comment-22</guid>
		<description>Hi, nice script but you are not offering a solution for find just the latest patches.
IMO, this one&#039;s better because does retrive just the last 10 patches:

function qfe
	{
	$global:checkkb = gwmi Win32_QuickFixEngineering -ComputerName $computer &#124; ? { $_.InstalledOn } &#124; sort { Get-Date $_.InstalledOn } &#124; ft hotfixid,installedon,installedby,description
	}
qfe
$global:checkkb

#Note the function is on one line and note the &quot;select -last&quot;

You should also mention that the class Win32_QuickFixEngineering does return incomplete results... maybe Microsoft should improve this instead of producing a command which bases itself on a wrong basis.

Nevertheless I like the possibility to pass credentials to the new command, even if you could do that before for WLI queries.

Instead remote authentication is not possible for remote registry queries, which is a pity. We&#039;re still stuck to a .NET class which cannot authenticate in a different security context...

Carlo</description>
		<content:encoded><![CDATA[<p>Hi, nice script but you are not offering a solution for find just the latest patches.<br />
IMO, this one&#8217;s better because does retrive just the last 10 patches:</p>
<p>function qfe<br />
	{<br />
	$global:checkkb = gwmi Win32_QuickFixEngineering -ComputerName $computer | ? { $_.InstalledOn } | sort { Get-Date $_.InstalledOn } | ft hotfixid,installedon,installedby,description<br />
	}<br />
qfe<br />
$global:checkkb</p>
<p>#Note the function is on one line and note the &#8220;select -last&#8221;</p>
<p>You should also mention that the class Win32_QuickFixEngineering does return incomplete results&#8230; maybe Microsoft should improve this instead of producing a command which bases itself on a wrong basis.</p>
<p>Nevertheless I like the possibility to pass credentials to the new command, even if you could do that before for WLI queries.</p>
<p>Instead remote authentication is not possible for remote registry queries, which is a pity. We&#8217;re still stuck to a .NET class which cannot authenticate in a different security context&#8230;</p>
<p>Carlo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick</title>
		<link>http://www.shariqsheikh.com/blog/index.php/200901/powershell-tip-1-find-out-the-lastest-patches-installed-on-a-remote-system/comment-page-1/#comment-8</link>
		<dc:creator>Rick</dc:creator>
		<pubDate>Sun, 18 Jan 2009 03:10:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.shariqsheikh.com/blog/?p=122#comment-8</guid>
		<description>Thanks Jeffrey. I am glad that inevitably as PowerShell continues to grow new cmdlets are being introduced. I will give V2 CTP3 a try for this, as I have also been looking forward to the ISE feature in V2 CTP3.</description>
		<content:encoded><![CDATA[<p>Thanks Jeffrey. I am glad that inevitably as PowerShell continues to grow new cmdlets are being introduced. I will give V2 CTP3 a try for this, as I have also been looking forward to the ISE feature in V2 CTP3.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeffrey Snover</title>
		<link>http://www.shariqsheikh.com/blog/index.php/200901/powershell-tip-1-find-out-the-lastest-patches-installed-on-a-remote-system/comment-page-1/#comment-7</link>
		<dc:creator>Jeffrey Snover</dc:creator>
		<pubDate>Sat, 17 Jan 2009 20:22:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.shariqsheikh.com/blog/?p=122#comment-7</guid>
		<description>In PS V2 CTP3 we have a command which wraps this function called get-hotfix.  It does the same thing you are doing, it just saves you some typing.

Gets the QFE updates that have been applied to the local and remote computers.
Get-HotFix
        (0)[-Id &#124; -HFID ]
           [-ComputerName &#124; -CN &#124; -__Server &#124; -IPAddress  (ByName)]
           [-Credential ]

Get-HotFix
           [-ComputerName &#124; -CN &#124; -__Server &#124; -IPAddress  (ByName)]
           [-Credential ]
           [-Description ]Gets the QFE updates that have been applied to the local and remote computers.
Get-HotFix
        (0)[-Id &#124; -HFID ]
           [-ComputerName &#124; -CN &#124; -__Server &#124; -IPAddress  (ByName)]
           [-Credential ]

Get-HotFix
           [-ComputerName &#124; -CN &#124; -__Server &#124; -IPAddress  (ByName)]
           [-Credential ]
           [-Description ]Gets the QFE updates that have been applied to the local and remote computers.
Get-HotFix
        (0)[-Id &#124; -HFID ]
           [-ComputerName &#124; -CN &#124; -__Server &#124; -IPAddress  (ByName)]
           [-Credential ]

Get-HotFix
           [-ComputerName &#124; -CN &#124; -__Server &#124; -IPAddress  (ByName)]
           [-Credential ]
           [-Description ]


Experiment! Enjoy! Engage!

Jeffrey Snover [MSFT]
Windows Management Partner Architect
Visit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShell
Visit the Windows PowerShell ScriptCenter at:  http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx</description>
		<content:encoded><![CDATA[<p>In PS V2 CTP3 we have a command which wraps this function called get-hotfix.  It does the same thing you are doing, it just saves you some typing.</p>
<p>Gets the QFE updates that have been applied to the local and remote computers.<br />
Get-HotFix<br />
        (0)[-Id | -HFID ]<br />
           [-ComputerName | -CN | -__Server | -IPAddress  (ByName)]<br />
           [-Credential ]</p>
<p>Get-HotFix<br />
           [-ComputerName | -CN | -__Server | -IPAddress  (ByName)]<br />
           [-Credential ]<br />
           [-Description ]Gets the QFE updates that have been applied to the local and remote computers.<br />
Get-HotFix<br />
        (0)[-Id | -HFID ]<br />
           [-ComputerName | -CN | -__Server | -IPAddress  (ByName)]<br />
           [-Credential ]</p>
<p>Get-HotFix<br />
           [-ComputerName | -CN | -__Server | -IPAddress  (ByName)]<br />
           [-Credential ]<br />
           [-Description ]Gets the QFE updates that have been applied to the local and remote computers.<br />
Get-HotFix<br />
        (0)[-Id | -HFID ]<br />
           [-ComputerName | -CN | -__Server | -IPAddress  (ByName)]<br />
           [-Credential ]</p>
<p>Get-HotFix<br />
           [-ComputerName | -CN | -__Server | -IPAddress  (ByName)]<br />
           [-Credential ]<br />
           [-Description ]</p>
<p>Experiment! Enjoy! Engage!</p>
<p>Jeffrey Snover [MSFT]<br />
Windows Management Partner Architect<br />
Visit the Windows PowerShell Team blog at:    <a href="http://blogs.msdn.com/PowerShell" rel="nofollow">http://blogs.msdn.com/PowerShell</a><br />
Visit the Windows PowerShell ScriptCenter at:  <a href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx" rel="nofollow">http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

