<?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: Schedule a URL into Maintenance Mode</title>
	<atom:link href="http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/</link>
	<description></description>
	<lastBuildDate>Tue, 27 Jul 2010 20:16:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Schedule a URL into Maintenance Mode &#171; TechColumnist</title>
		<link>http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/comment-page-1/#comment-6083</link>
		<dc:creator>Schedule a URL into Maintenance Mode &#171; TechColumnist</dc:creator>
		<pubDate>Wed, 07 Jul 2010 22:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/#comment-6083</guid>
		<description>[...] http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/   Share and Enjoy: [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/" rel="nofollow">http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/</a>   Share and Enjoy: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scheduled Maintenance Mode for Web Monitors &#171; System Center Operations Manager 2007 R2</title>
		<link>http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/comment-page-1/#comment-4895</link>
		<dc:creator>Scheduled Maintenance Mode for Web Monitors &#171; System Center Operations Manager 2007 R2</dc:creator>
		<pubDate>Sat, 03 Apr 2010 17:00:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/#comment-4895</guid>
		<description>[...] http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/" rel="nofollow">http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul B</title>
		<link>http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/comment-page-1/#comment-3205</link>
		<dc:creator>Paul B</dc:creator>
		<pubDate>Thu, 12 Nov 2009 20:22:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/#comment-3205</guid>
		<description>Ok.. I figured it out. Since I am new to scripting it took me awhile, plus some help from co-workers..

I added a foreach statement to repeat through the objects 

foreach ($name in $URLWatcher) {
New-MaintenanceWindow -startTime:$startTime -endTime:$endTime -monitoringObject:$name -comment:$comment -Reason:$reason }</description>
		<content:encoded><![CDATA[<p>Ok.. I figured it out. Since I am new to scripting it took me awhile, plus some help from co-workers..</p>
<p>I added a foreach statement to repeat through the objects </p>
<p>foreach ($name in $URLWatcher) {<br />
New-MaintenanceWindow -startTime:$startTime -endTime:$endTime -monitoringObject:$name -comment:$comment -Reason:$reason }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul B</title>
		<link>http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/comment-page-1/#comment-3203</link>
		<dc:creator>Paul B</dc:creator>
		<pubDate>Thu, 12 Nov 2009 18:20:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/#comment-3203</guid>
		<description>It looks like I can&#039;t do multiple objects with the same name. I may have to do this by monitoring object id.</description>
		<content:encoded><![CDATA[<p>It looks like I can&#8217;t do multiple objects with the same name. I may have to do this by monitoring object id.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul B</title>
		<link>http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/comment-page-1/#comment-3196</link>
		<dc:creator>Paul B</dc:creator>
		<pubDate>Wed, 11 Nov 2009 19:41:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/#comment-3196</guid>
		<description>I ran into this error when trying to run this from a powershell command prompt:

Can you give me any insite on why this is happening?

New-MaintenanceWindow : Cannot convert &#039;System.Object[]&#039; to the type &#039;Microsoft.EnterpriseManagement.Monitoring.Monitor
ingObject&#039; required by parameter &#039;MonitoringObject&#039;. Specified method is not supported.
At C:\MaintenanceModeV4\URLMaintenanceModeV4.ps1:17 char:81
+ New-MaintenanceWindow -startTime:$startTime -endTime:$endTime -monitoringObject:$ &lt;&lt;&lt;&lt; URLWatcher -comment:$comment -
Reason:$reason


Thanks for the creation of these scripts they are very hnady.</description>
		<content:encoded><![CDATA[<p>I ran into this error when trying to run this from a powershell command prompt:</p>
<p>Can you give me any insite on why this is happening?</p>
<p>New-MaintenanceWindow : Cannot convert &#8216;System.Object[]&#8216; to the type &#8216;Microsoft.EnterpriseManagement.Monitoring.Monitor<br />
ingObject&#8217; required by parameter &#8216;MonitoringObject&#8217;. Specified method is not supported.<br />
At C:\MaintenanceModeV4\URLMaintenanceModeV4.ps1:17 char:81<br />
+ New-MaintenanceWindow -startTime:$startTime -endTime:$endTime -monitoringObject:$ &lt;&lt;&lt;&lt; URLWatcher -comment:$comment -<br />
Reason:$reason</p>
<p>Thanks for the creation of these scripts they are very hnady.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marnix Wolf</title>
		<link>http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/comment-page-1/#comment-1946</link>
		<dc:creator>Marnix Wolf</dc:creator>
		<pubDate>Thu, 16 Apr 2009 09:05:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/#comment-1946</guid>
		<description>Great script Tim. Thanks!
Best regards,
Marnix Wolf</description>
		<content:encoded><![CDATA[<p>Great script Tim. Thanks!<br />
Best regards,<br />
Marnix Wolf</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Phillips</title>
		<link>http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/comment-page-1/#comment-1485</link>
		<dc:creator>Jonathan Phillips</dc:creator>
		<pubDate>Wed, 18 Feb 2009 22:23:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/#comment-1485</guid>
		<description>Great post.  This script came in handy.  I converted it for use in my environment including the HeatlhService and HealthServiceWatcher objects.</description>
		<content:encoded><![CDATA[<p>Great post.  This script came in handy.  I converted it for use in my environment including the HeatlhService and HealthServiceWatcher objects.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
