<?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: Programmatically Check for Management Pack updates in OpsMgr 2007 R2</title>
	<atom:link href="http://www.muscetta.com/2008/11/29/programmatically-check-for-management-pack-updates-in-opsmgr-2007-r2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.muscetta.com/2008/11/29/programmatically-check-for-management-pack-updates-in-opsmgr-2007-r2/</link>
	<description>Superior Dedication - If you try hard enough, you might even get it to work.</description>
	<lastBuildDate>Sun, 14 Feb 2010 11:08:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Daniele Muscetta</title>
		<link>http://www.muscetta.com/2008/11/29/programmatically-check-for-management-pack-updates-in-opsmgr-2007-r2/comment-page-1/#comment-29151</link>
		<dc:creator>Daniele Muscetta</dc:creator>
		<pubDate>Sat, 24 Oct 2009 07:26:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.muscetta.com/2008/11/29/programmatically-check-for-management-pack-updates-in-opsmgr-2007-r2/#comment-29151</guid>
		<description>Yes it it pretty hardcore - I basically reverse engineered the communication to be able to interact with a webservice that is, in fact, only intended to be used in conjunction with the GUI.
But there was really no other way...</description>
		<content:encoded><![CDATA[<p>Yes it it pretty hardcore &#8211; I basically reverse engineered the communication to be able to interact with a webservice that is, in fact, only intended to be used in conjunction with the GUI.<br />
But there was really no other way&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Ross</title>
		<link>http://www.muscetta.com/2008/11/29/programmatically-check-for-management-pack-updates-in-opsmgr-2007-r2/comment-page-1/#comment-29150</link>
		<dc:creator>Steve Ross</dc:creator>
		<pubDate>Thu, 08 Oct 2009 20:53:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.muscetta.com/2008/11/29/programmatically-check-for-management-pack-updates-in-opsmgr-2007-r2/#comment-29150</guid>
		<description>...wow...this is hard core...and awesome.  Thanks for sharing!</description>
		<content:encoded><![CDATA[<p>&#8230;wow&#8230;this is hard core&#8230;and awesome.  Thanks for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniele Muscetta</title>
		<link>http://www.muscetta.com/2008/11/29/programmatically-check-for-management-pack-updates-in-opsmgr-2007-r2/comment-page-1/#comment-29141</link>
		<dc:creator>Daniele Muscetta</dc:creator>
		<pubDate>Mon, 01 Jun 2009 16:20:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.muscetta.com/2008/11/29/programmatically-check-for-management-pack-updates-in-opsmgr-2007-r2/#comment-29141</guid>
		<description>Jamie, for questions there used to be NNTP newsgroups, now replaced by the new web forums. Read more at Kevin&#039;s blog http://blogs.technet.com/kevinholman/archive/2009/05/22/new-web-based-forums-for-opsmgr-no-more-nntp-newsgroups.aspx

As for the script, it still seems to be working, but in the future it might work or not work, as the webservice has not really been documented or released for anyone other than the console to use... so it might change. In fact, the Product Group has been asked (not just by me - http://blogs.technet.com/stefan_stranger/archive/2009/05/15/when-will-there-be-wsdl-for-the-mp-catalog-webservice.aspx) if they will provide more specification about the webservice... but I have not had a reply yet. Therefore, I think that means &quot;no&quot;...

Also, if you look at the GUI in R2 when checking for MPs from the internet, it will show you a certificate, and the whole conversation is now happening over HTTPS rather than HTTP. It still seems to work the way it worked, other than on teh more secure protocol.... but if the web service changes, it will be more difficult to reverse engineer, but it will provide transport security so that you know you really are downloading MPs from Microsoft.com, not from somewhere else through a man-in-the-middle attack.

Finally, adding the three lines by RichardK to handle the proxy is really simple - it should go after line 30. 
But I would suggest you skip this and just use the console... this was meant as an experiment, not for production use.</description>
		<content:encoded><![CDATA[<p>Jamie, for questions there used to be NNTP newsgroups, now replaced by the new web forums. Read more at Kevin&#039;s blog <a href="http://blogs.technet.com/kevinholman/archive/2009/05/22/new-web-based-forums-for-opsmgr-no-more-nntp-newsgroups.aspx" rel="nofollow">http://blogs.technet.com/kevinholman/archive/2009/05/22/new-web-based-forums-for-opsmgr-no-more-nntp-newsgroups.aspx</a></p>
<p>As for the script, it still seems to be working, but in the future it might work or not work, as the webservice has not really been documented or released for anyone other than the console to use&#8230; so it might change. In fact, the Product Group has been asked (not just by me &#8211; <a href="http://blogs.technet.com/stefan_stranger/archive/2009/05/15/when-will-there-be-wsdl-for-the-mp-catalog-webservice.aspx)" rel="nofollow">http://blogs.technet.com/stefan_stranger/archive/2009/05/15/when-will-there-be-wsdl-for-the-mp-catalog-webservice.aspx)</a> if they will provide more specification about the webservice&#8230; but I have not had a reply yet. Therefore, I think that means &#034;no&#034;&#8230;</p>
<p>Also, if you look at the GUI in R2 when checking for MPs from the internet, it will show you a certificate, and the whole conversation is now happening over HTTPS rather than HTTP. It still seems to work the way it worked, other than on teh more secure protocol&#8230;. but if the web service changes, it will be more difficult to reverse engineer, but it will provide transport security so that you know you really are downloading MPs from Microsoft.com, not from somewhere else through a man-in-the-middle attack.</p>
<p>Finally, adding the three lines by RichardK to handle the proxy is really simple &#8211; it should go after line 30.<br />
But I would suggest you skip this and just use the console&#8230; this was meant as an experiment, not for production use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie</title>
		<link>http://www.muscetta.com/2008/11/29/programmatically-check-for-management-pack-updates-in-opsmgr-2007-r2/comment-page-1/#comment-29140</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Mon, 01 Jun 2009 12:31:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.muscetta.com/2008/11/29/programmatically-check-for-management-pack-updates-in-opsmgr-2007-r2/#comment-29140</guid>
		<description>Hi we also run Proxy servers for all our servers I am not familiar with powershell scripting and Richard K has posted the code kindly but where does the code need to be inserted and also wll this script work with Scom 2007 R2 Eval ?
Also where is the best place to post questions on Scom 2007 R2 ? So far I am unable to get the DFS Windows 2003 Pack working on our servers.
Thanks for your help in advance.</description>
		<content:encoded><![CDATA[<p>Hi we also run Proxy servers for all our servers I am not familiar with powershell scripting and Richard K has posted the code kindly but where does the code need to be inserted and also wll this script work with Scom 2007 R2 Eval ?<br />
Also where is the best place to post questions on Scom 2007 R2 ? So far I am unable to get the DFS Windows 2003 Pack working on our servers.<br />
Thanks for your help in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniele Muscetta</title>
		<link>http://www.muscetta.com/2008/11/29/programmatically-check-for-management-pack-updates-in-opsmgr-2007-r2/comment-page-1/#comment-29127</link>
		<dc:creator>Daniele Muscetta</dc:creator>
		<pubDate>Mon, 01 Dec 2008 18:16:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.muscetta.com/2008/11/29/programmatically-check-for-management-pack-updates-in-opsmgr-2007-r2/#comment-29127</guid>
		<description>Yes, I intentionally left the proxy code out, as well as any decent error handling, to be honest: this is meant to be an EXAMPLE, so I wanted to leave IN the code just the mininum important instructions to get it working...
Also, currently I have not found a way in R2 beta to tell the GUI it is supposed to use a proxy... and that&#039;s a bit more difficult to add, but in a script, anyway, it is very easy to change just adding the few lines you mentioned.
...in general I hate when people don&#039;t include that possibility: http://www.muscetta.com/2007/08/13/why-do-developers-tend-to-forget-about-people-behind-proxy-servers/ :-))</description>
		<content:encoded><![CDATA[<p>Yes, I intentionally left the proxy code out, as well as any decent error handling, to be honest: this is meant to be an EXAMPLE, so I wanted to leave IN the code just the mininum important instructions to get it working&#8230;<br />
Also, currently I have not found a way in R2 beta to tell the GUI it is supposed to use a proxy&#8230; and that&#039;s a bit more difficult to add, but in a script, anyway, it is very easy to change just adding the few lines you mentioned.<br />
&#8230;in general I hate when people don&#039;t include that possibility: <a href="http://www.muscetta.com/2007/08/13/why-do-developers-tend-to-forget-about-people-behind-proxy-servers/" rel="nofollow">http://www.muscetta.com/2007/08/13/why-do-developers-tend-to-forget-about-people-behind-proxy-servers/</a> <img src='http://www.muscetta.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RichardK</title>
		<link>http://www.muscetta.com/2008/11/29/programmatically-check-for-management-pack-updates-in-opsmgr-2007-r2/comment-page-1/#comment-29126</link>
		<dc:creator>RichardK</dc:creator>
		<pubDate>Mon, 01 Dec 2008 14:23:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.muscetta.com/2008/11/29/programmatically-check-for-management-pack-updates-in-opsmgr-2007-r2/#comment-29126</guid>
		<description>Thanks, works great.

Since the company I work at uses a proxy server I had to add the following:

$proxy = New-Object System.Net.WebProxy(&quot;http://YOUR_PROXY_SERVER:80&quot;)
$proxy.UseDefaultCredentials = $true

$req.proxy = $proxy</description>
		<content:encoded><![CDATA[<p>Thanks, works great.</p>
<p>Since the company I work at uses a proxy server I had to add the following:</p>
<p>$proxy = New-Object System.Net.WebProxy(&#034;http://YOUR_PROXY_SERVER:80&#034;)<br />
$proxy.UseDefaultCredentials = $true</p>
<p>$req.proxy = $proxy</p>
]]></content:encoded>
	</item>
</channel>
</rss>
