<?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 group of URLs into Maintenance Mode</title>
	<atom:link href="http://www.scom2k7.com/schedule-a-group-of-urls-into-maintenance-mode/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scom2k7.com/schedule-a-group-of-urls-into-maintenance-mode/</link>
	<description></description>
	<lastBuildDate>Wed, 18 Jan 2012 09:40:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Tim</title>
		<link>http://www.scom2k7.com/schedule-a-group-of-urls-into-maintenance-mode/comment-page-1/#comment-5183</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Tue, 27 Apr 2010 23:07:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.scom2k7.com/?p=489#comment-5183</guid>
		<description>Make sure your group only contains objects of type &quot;Web Applicaiton Perspective&quot;</description>
		<content:encoded><![CDATA[<p>Make sure your group only contains objects of type &#8220;Web Applicaiton Perspective&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.scom2k7.com/schedule-a-group-of-urls-into-maintenance-mode/comment-page-1/#comment-5182</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Tue, 27 Apr 2010 23:02:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.scom2k7.com/?p=489#comment-5182</guid>
		<description>Objects of type Web Application Perspective.</description>
		<content:encoded><![CDATA[<p>Objects of type Web Application Perspective.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob</title>
		<link>http://www.scom2k7.com/schedule-a-group-of-urls-into-maintenance-mode/comment-page-1/#comment-4775</link>
		<dc:creator>Jacob</dc:creator>
		<pubDate>Wed, 24 Mar 2010 12:28:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.scom2k7.com/?p=489#comment-4775</guid>
		<description>What object type(s) did you add to the custom group?</description>
		<content:encoded><![CDATA[<p>What object type(s) did you add to the custom group?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sven</title>
		<link>http://www.scom2k7.com/schedule-a-group-of-urls-into-maintenance-mode/comment-page-1/#comment-4478</link>
		<dc:creator>Sven</dc:creator>
		<pubDate>Mon, 22 Feb 2010 14:58:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.scom2k7.com/?p=489#comment-4478</guid>
		<description>I tried this URL group maintenance mode powershell script and it doesn&#039;t appear to work.
I am getting the following error:

You cannot call a method on a null-valued expression.
At D:\Temp\URLGroupMM.ps1:9 char:56
+ $groupagents = $groupObject.getrelatedmonitoringobjects( &lt;&lt;&lt;&lt; )
Putting URL into maintenance mode
New-MaintenanceWindow : Cannot bind argument to parameter &#039;MonitoringObject&#039; be
cause it is null.
At D:\Temp\URLGroupMM.ps1:26 char:81
+ New-MaintenanceWindow -startTime:$startTime -endTime:$endTime -monitoringObje
ct:$ &lt;&lt;&lt;Powershell D:\Temp\URLGroupMM.ps1 -rootMS rtprms01.americas.ppdi.local -group &#039;DMART Web Application Monitor Group&#039; -minutes 30 -reason &#039;Daily maintenance mode&#039;

Thanks,
Sven</description>
		<content:encoded><![CDATA[<p>I tried this URL group maintenance mode powershell script and it doesn&#8217;t appear to work.<br />
I am getting the following error:</p>
<p>You cannot call a method on a null-valued expression.<br />
At D:\Temp\URLGroupMM.ps1:9 char:56<br />
+ $groupagents = $groupObject.getrelatedmonitoringobjects( &lt;&lt;&lt;&lt; )<br />
Putting URL into maintenance mode<br />
New-MaintenanceWindow : Cannot bind argument to parameter &#039;MonitoringObject&#039; be<br />
cause it is null.<br />
At D:\Temp\URLGroupMM.ps1:26 char:81<br />
+ New-MaintenanceWindow -startTime:$startTime -endTime:$endTime -monitoringObje<br />
ct:$ &lt;&lt;&lt;Powershell D:\Temp\URLGroupMM.ps1 -rootMS rtprms01.americas.ppdi.local -group &#8216;DMART Web Application Monitor Group&#8217; -minutes 30 -reason &#8216;Daily maintenance mode&#8217;</p>
<p>Thanks,<br />
Sven</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.scom2k7.com/schedule-a-group-of-urls-into-maintenance-mode/comment-page-1/#comment-2959</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Sat, 17 Oct 2009 22:19:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.scom2k7.com/?p=489#comment-2959</guid>
		<description>Thanks, this was extremely helpful!</description>
		<content:encoded><![CDATA[<p>Thanks, this was extremely helpful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.scom2k7.com/schedule-a-group-of-urls-into-maintenance-mode/comment-page-1/#comment-1467</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Wed, 11 Feb 2009 14:49:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.scom2k7.com/?p=489#comment-1467</guid>
		<description>MatthiasR

Good eyes.  I put that in there to test it and forgot to change it back.  I have fixed the zip and the post.

Thanks,

Tim</description>
		<content:encoded><![CDATA[<p>MatthiasR</p>
<p>Good eyes.  I put that in there to test it and forgot to change it back.  I have fixed the zip and the post.</p>
<p>Thanks,</p>
<p>Tim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MatthiasR</title>
		<link>http://www.scom2k7.com/schedule-a-group-of-urls-into-maintenance-mode/comment-page-1/#comment-1466</link>
		<dc:creator>MatthiasR</dc:creator>
		<pubDate>Wed, 11 Feb 2009 14:37:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.scom2k7.com/?p=489#comment-1466</guid>
		<description>Hi Tim,
thank you for sharing this.
There is a mistake at the code:
$groupObject = get-monitoringobject &#124; where {$_.DisplayName -eq “AU 3AM Website Reboot Group”}; 
The group name should be replaced with the variable &quot;$groupName&quot;

Regards

Matthias</description>
		<content:encoded><![CDATA[<p>Hi Tim,<br />
thank you for sharing this.<br />
There is a mistake at the code:<br />
$groupObject = get-monitoringobject | where {$_.DisplayName -eq “AU 3AM Website Reboot Group”};<br />
The group name should be replaced with the variable &#8220;$groupName&#8221;</p>
<p>Regards</p>
<p>Matthias</p>
]]></content:encoded>
	</item>
</channel>
</rss>

