<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4224315535626615061</id><updated>2012-02-09T07:55:02.643+01:00</updated><category term='VBScript'/><category term='Tuning'/><category term='SCOM'/><category term='DWH'/><category term='R3'/><category term='Notification'/><category term='SQL'/><category term='SCCM'/><category term='Subscription'/><category term='Review'/><category term='Configuring'/><category term='SCOM R2'/><category term='User Role'/><category term='System Center 2012'/><category term='Reporting'/><category term='Code'/><category term='Community'/><category term='PowerShell'/><category term='Beta'/><category term='SCOM ADMP'/><category term='Wish List'/><category term='Data Warehouse'/><category term='nWorks VMware'/><category term='Documentation'/><category term='OSD'/><category term='Override'/><category term='Script'/><category term='MP'/><category term='Drivers'/><category term='WQL'/><category term='Monitors'/><category term='Restore'/><category term='SCCM vNext'/><category term='Rules'/><category term='Exam'/><category term='System Center'/><category term='MDT'/><category term='Maintenance'/><category term='Groups'/><category term='Authoring'/><category term='OperationsManagerDW'/><category term='Run As'/><category term='DONTS'/><category term='Features'/><category term='Alerts'/><category term='Database'/><category term='CU4'/><category term='Sharepoint'/><category term='Management packs'/><category term='Update'/><category term='Toolkit'/><category term='Blog'/><category term='Books'/><category term='Core'/><title type='text'>System Center Tech Blog - Michiel Wouters - SCOM, SCCM</title><subtitle type='html'>Michiel Wouters' blog about Microsoft System Center. Mainly focussed on System Center Operations Manager (MOM 2005/SCOM 2007) and System Center Configuration Manager (SMS 2003/SCCM 2007)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>47</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-9074092736905009799</id><published>2012-01-13T13:00:00.008+01:00</published><updated>2012-01-13T15:06:43.304+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Features'/><category scheme='http://www.blogger.com/atom/ns#' term='System Center 2012'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='Wish List'/><title type='text'>SCOM: 2012 Wish List</title><content type='html'>Last week I was present at the first SCUG (System Center User Group) meeting for this year. It was a great source of information. Two speakers from Microsoft USA were present to tell us about the application monitoring feature (AviCode) and Network Monitoring feature. It looks great and promising!&lt;br /&gt;&lt;br /&gt;As SCOM 2012 is going to be released and everyone is wondering what new features it might bring, I would like to share my ideas/wishes for the next SCOM releases. I'm pretty sure these are not available in SCOM 2012.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Remove boundary for sealed en unsealed MP's.&lt;ul&gt;&lt;li&gt;Microsoft Best Practices for SCOM conflict with available functionality in SCOM.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Using one management group all self developed MP's are unsealed and their is no way to include objects from those unsealed MP's in a distributed application.&lt;/li&gt;&lt;li&gt;Currently sealing is the only solution. However sealing breaks MP's in which MP templates are used. Yeeh!&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Light-weight Operator Console for better performance&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Scale down Authoring in Operator Console, move functionality to Authoring Console.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Increase usability&lt;/li&gt;&lt;li&gt;Decrease complexity&lt;/li&gt;&lt;li&gt;Create intuitive GUI layer on top of current console.&lt;/li&gt;&lt;li&gt;Ease up using the Authoring Console as it was easy to create MP's in MOM 2005 with the adminstrator console.&lt;/li&gt;&lt;li&gt;Possibility to use templates in the Authoring Console.&lt;/li&gt;&lt;li&gt;Allow role 'Author' to make use of the Management Pack templates. Currently only a SCOM Administrator is allowed to make use of them.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Dynamic component groups for DA's from the GUI to avoid XML usage.&lt;/li&gt;&lt;li&gt;Log file monitoring for circular log files&lt;/li&gt;&lt;li&gt;Out of the box better alert message possibities (read property bag definition from script, alert message templates)&lt;/li&gt;&lt;li&gt;Possibility to use XPath expressions in alert suppression or a GUI layer for xpath dummies, like $Data/Context/Params[Contains(Param[1],"Fatal"). This can be handy when monitoring error events in logfile&lt;/li&gt;&lt;li&gt;Review the current class model. There so much classes now. Is this really necessary? The new Network Monitoring features add classes for each component and each brand. Why not using multiple discoveries for 1 class?&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;If you have other good ideas/wishes, let me know!&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-9074092736905009799?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/9074092736905009799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2011/04/scom-2012-wish-list.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/9074092736905009799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/9074092736905009799'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2011/04/scom-2012-wish-list.html' title='SCOM: 2012 Wish List'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-121195077384926239</id><published>2011-08-16T17:30:00.004+02:00</published><updated>2011-08-16T17:47:57.908+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Drivers'/><category scheme='http://www.blogger.com/atom/ns#' term='SCCM'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><title type='text'>SCCM: Get Drivers From Driver Packages (WQL)</title><content type='html'>I was searching for a way to list Driver Packages which contain Drivers. Why? I want to use Driver Packages without importing the drivers in SCCM.&lt;br /&gt;Why? You can read about that here: &lt;a href="http://hayesjupe.wordpress.com/sccm-osd-driver-best-practices/"&gt;http://hayesjupe.wordpress.com/sccm-osd-driver-best-practices/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I found an interesting script of Christjan which can detect differences in drivers between Driver Packages. The script contained the necessary WQL statements that I needed.&lt;br /&gt;&lt;br /&gt;Here's the link to his script:&lt;br /&gt;&lt;a href="http://pr3m.pri.ee/blog/?p=653"&gt;http://pr3m.pri.ee/blog/?p=653&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Example WQL query for displaying the PackageID and Name of Driver Packages that contain drivers:&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: sql"&gt;SELECT DPKG.Name,DPKG.PackageID FROM SMS_PackageToContent AS PTC&lt;br /&gt;JOIN SMS_CIToContent AS CITC ON PTC.ContentUniqueID=CITC.ContentUniqueID&lt;br /&gt;JOIN SMS_Driver AS DRV ON CITC.CI_ID=DRV.CI_ID&lt;br /&gt;JOIN SMS_DriverPackage AS DPKG ON PTC.PackageID = DPKG.PackageID&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-121195077384926239?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/121195077384926239/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2011/08/sccm-get-drivers-from-driver-packages.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/121195077384926239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/121195077384926239'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2011/08/sccm-get-drivers-from-driver-packages.html' title='SCCM: Get Drivers From Driver Packages (WQL)'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-6675243456366333414</id><published>2011-08-09T17:30:00.004+02:00</published><updated>2011-08-09T17:52:47.303+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MDT'/><category scheme='http://www.blogger.com/atom/ns#' term='SCCM'/><category scheme='http://www.blogger.com/atom/ns#' term='OSD'/><title type='text'>SCCM: Task Sequence Import Fails with APPCRASH</title><content type='html'>Currently I'm working on automating the provisioning of SCCM environments.&lt;br /&gt;One of the things that came along was exporting and importing Task Sequences between SCCM environments.&lt;br /&gt;After automatically dealing with the package references I was ready to import them in the target SCCM deployment with my script.&lt;br /&gt;&lt;br /&gt;Sadly, this didn't work. Even with the ConfigMgr Console it didn't work. As I was not presented with some kind of error, I searched the Event Viewer.&lt;br /&gt;&lt;br /&gt;There I found multiple APPCRASH events (eventid 1000) on wmiprvse.exe.&lt;br /&gt;So there had to be something in the Task Sequence export files that causes WMI to crash.&lt;br /&gt;&lt;br /&gt;Many times WMI crashes because of bad queries or non-existing WMI classes, or ..... yep memory issues.&lt;br /&gt;&lt;br /&gt;After (manually :'( ) comparing the two SCCM deployments, I found out I was missing the Microsoft Deployment Toolkit 2010 Task Sequence steps on the target SCCM deployment. After installing that, all issues were gone.&lt;br /&gt;&lt;br /&gt;It would be nice though if the ConfigMgr console could present me with a simple error, stating that MDT was missing. Arghh.....&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-6675243456366333414?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/6675243456366333414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2011/08/sccm-task-sequence-import-fails-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/6675243456366333414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/6675243456366333414'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2011/08/sccm-task-sequence-import-fails-with.html' title='SCCM: Task Sequence Import Fails with APPCRASH'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-1864536012128311405</id><published>2011-06-21T21:06:00.003+02:00</published><updated>2011-06-22T11:52:46.124+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Groups'/><category scheme='http://www.blogger.com/atom/ns#' term='Authoring'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><title type='text'>SCOM: Dynamic Group MaxDepth</title><content type='html'>This blog shows a trick to retrieve the right query depth when using contains/contained expressions in group membership rules.&lt;br /&gt;&lt;br /&gt;If you don't know how these expressions work: Raphael Burri has an excellent blog about Dynamic Group Population: &lt;a href="http://rburri.wordpress.com/2009/01/14/dynamic-group-membership-authoring-and-performance-impact-on-rms/"&gt;http://rburri.wordpress.com/2009/01/14/dynamic-group-membership-authoring-and-performance-impact-on-rms/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Whenever you use Contains or Contained (or their compliments NotContains or NotContained), you should use the attribute &lt;em&gt;MaxDepth&lt;/em&gt; to save I/O on the RMS&lt;em&gt;.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;But how do you know what the MaxDepth is???&lt;br /&gt;&lt;br /&gt;You could find this info in the Service Model from the Management Pack Guide. But not every MP Guide is equiped with a Service Model.&lt;br /&gt;To overcome this, you can use the Group membership rule wizard (Query Builder) in the Operations Console.&lt;br /&gt;&lt;br /&gt;In this example I want to group all IIS 7.0 Application Pools which are hosted on computers with a specific Computer Description. In most cases MaxDepth 1 will do, but not in this case.&lt;br /&gt;&lt;br /&gt;For the Computer Description attribute I created an extended class based on Windows Computer. The attribute is filled with the value of a registry key found locally on the agent.&lt;br /&gt;&lt;br /&gt;Let's see.....&lt;br /&gt;&lt;br /&gt;Start the Create Group Wizard and go the the Dynamic Members tab:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-9j4EUmjQRpU/TgB5-vWdhgI/AAAAAAAAAKs/63kR9uEWUy8/s1600/SCOM_GroupWizard.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5620626453727905282" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 272px" alt="" src="http://2.bp.blogspot.com/-9j4EUmjQRpU/TgB5-vWdhgI/AAAAAAAAAKs/63kR9uEWUy8/s320/SCOM_GroupWizard.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Click Create/Edit rules and select IIS 7.0 Application Pool class and click Add:&lt;/p&gt;&lt;a href="http://1.bp.blogspot.com/-w97qJhzyiKo/TgB6WmTw-DI/AAAAAAAAAK0/m_gDpMNnoO8/s1600/SCOM_GroupWizard_QueryBuilder.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5620626863617538098" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 258px" alt="" src="http://1.bp.blogspot.com/-w97qJhzyiKo/TgB6WmTw-DI/AAAAAAAAAK0/m_gDpMNnoO8/s320/SCOM_GroupWizard_QueryBuilder.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Select the property drop down list and go to the last entry, which shows the host class. This shows that the IIS 7.0 Application Pool Class is hosted by the IIS 7.0 Web Server class.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-Ln5UaSgIKfk/TgB69lb2yYI/AAAAAAAAAK8/XOJngWoRXfQ/s1600/SCOM_GroupWizard_QueryBuilder_HostProperty.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5620627533397936514" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 193px; CURSOR: hand; HEIGHT: 320px" alt="" src="http://3.bp.blogspot.com/-Ln5UaSgIKfk/TgB69lb2yYI/AAAAAAAAAK8/XOJngWoRXfQ/s320/SCOM_GroupWizard_QueryBuilder_HostProperty.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In the next steps select the parent classes until you reach the host class Windows Computer. For every host step, maxDepth is incremented.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-zGnFqf6So0g/TgB7NULJPQI/AAAAAAAAALE/yUPBZATVA34/s1600/SCOM_GroupMembership_Class_Property_Depth.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5620627803642346754" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 400px; CURSOR: hand; HEIGHT: 61px" alt="" src="http://1.bp.blogspot.com/-zGnFqf6So0g/TgB7NULJPQI/AAAAAAAAALE/yUPBZATVA34/s400/SCOM_GroupMembership_Class_Property_Depth.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So now you know that you'll have to use maxDepth="3" in Contains/Contained expressions on the Windows Computer class (or in my case a class which derives from this class).&lt;br /&gt;The membership rule would look like this:&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: xml"&gt;&lt;membershiprule&gt;&lt;br /&gt;  &lt;monitoringclass&gt;$MPElement[Name="Windows1!Microsoft.Windows.InternetInformationServices.2008.ApplicationPool"]$&lt;/monitoringclass&gt;&lt;br /&gt;  &lt;relationshipclass&gt;$MPElement[Name="MicrosoftSystemCenterInstanceGroupLibrary6172210!Microsoft.SystemCenter.InstanceGroupContainsEntities"]$&lt;/relationshipclass&gt;&lt;br /&gt;  &lt;expression&gt;&lt;br /&gt; &lt;contained maxdepth="3"&gt;&lt;br /&gt;   &lt;monitoringclass&gt;$MPElement[Name="MyExtLib!MyExtLib.Windows.Computer.Extended"]$&lt;/monitoringclass&gt;&lt;br /&gt;   &lt;expression&gt;&lt;br /&gt;  &lt;regexexpression&gt;&lt;br /&gt;    &lt;valueexpression&gt;&lt;br /&gt;   &lt;property&gt;$MPElement[Name="MyExtLib!MyExtLib.Windows.Computer.Extended"]/Description$&lt;/property&gt;&lt;br /&gt;    &lt;/valueexpression&gt;&lt;br /&gt;    &lt;operator&gt;ContainsSubstring&lt;/operator&gt;&lt;br /&gt;    &lt;pattern&gt;Web Server LOB1&lt;/pattern&gt;&lt;br /&gt;  &lt;/regexexpression&gt;&lt;br /&gt;   &lt;/expression&gt;&lt;br /&gt; &lt;/contained&gt;&lt;br /&gt;  &lt;/expression&gt;&lt;br /&gt;&lt;/membershiprule&gt;&lt;/pre&gt;&lt;br /&gt;Of course you can create groups based on the host properties, but sadly this doesn't work on derived classes.&lt;br /&gt;If you do can work with the host properties, the membership rule can look like this:&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: xml"&gt;&lt;membershiprule&gt;&lt;br /&gt;  &lt;monitoringclass&gt;$MPElement[Name="Windows1!Microsoft.Windows.InternetInformationServices.2008.ApplicationPool"]$&lt;/monitoringclass&gt;&lt;br /&gt;  &lt;relationshipclass&gt;$MPElement[Name="MicrosoftSystemCenterInstanceGroupLibrary6172210!Microsoft.SystemCenter.InstanceGroupContainsEntities"]$&lt;/relationshipclass&gt;&lt;br /&gt;  &lt;expression&gt;&lt;br /&gt; &lt;regexexpression&gt;&lt;br /&gt;   &lt;valueexpression&gt;&lt;br /&gt;  &lt;hostproperty&gt;&lt;br /&gt;    &lt;monitoringclass&gt;$MPElement[Name="MicrosoftWindowsLibrary6172210!Microsoft.Windows.Computer"]$&lt;/monitoringclass&gt;&lt;br /&gt;    &lt;property&gt;$MPElement[Name="MicrosoftWindowsLibrary6172210!Microsoft.Windows.Computer"]/OrganizationalUnit$&lt;/property&gt;&lt;br /&gt;  &lt;/hostproperty&gt;&lt;br /&gt;   &lt;/valueexpression&gt;&lt;br /&gt;   &lt;operator&gt;ContainsSubstring&lt;/operator&gt;&lt;br /&gt;   &lt;pattern&gt;Web Servers&lt;/pattern&gt;&lt;br /&gt; &lt;/regexexpression&gt;&lt;br /&gt;  &lt;/expression&gt;&lt;br /&gt;&lt;/membershiprule&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-1864536012128311405?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/1864536012128311405/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2011/06/scom-dynamic-group-maxdepth.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/1864536012128311405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/1864536012128311405'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2011/06/scom-dynamic-group-maxdepth.html' title='SCOM: Dynamic Group MaxDepth'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-9j4EUmjQRpU/TgB5-vWdhgI/AAAAAAAAAKs/63kR9uEWUy8/s72-c/SCOM_GroupWizard.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-9111387823187089492</id><published>2011-06-08T16:28:00.008+02:00</published><updated>2011-06-08T16:57:34.357+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Alerts'/><category scheme='http://www.blogger.com/atom/ns#' term='Management packs'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='Notification'/><title type='text'>SCOM: Reserved Custom Attributes?</title><content type='html'>Today I came accross a post of &lt;a href="http://nocentdocent.wordpress.com/2011/05/23/exchange-2010-management-pack-beware-of-custom-attributes-usage/"&gt;Daniele Grandini&lt;/a&gt; in which he writes that the Exchange 2010 MP uses the Custom Attributes of alerts for it's internal Alert Correlation engine.&lt;br /&gt;&lt;br /&gt;Why is this important to know? Custom Attributes can be used for notification purposes to send extra information.&lt;br /&gt;&lt;br /&gt;I realised I know more Management Packs which also use these Custom Attributes. So here's a short list of the MP's:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Microsoft Biztalk Server MP 6.0.6703.0: Custom Field 1&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Microsoft Group Policy 2003 MP (Converted): Custom Field 6&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Microsoft SCCM MP 6.0.6000.2: Custom Field 1 and 6&lt;/li&gt;&lt;br /&gt;&lt;li&gt;nWorks VMware VEM MP 5.0.3.248: Custom Field 1 to 6 and 9, 10&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;This is what I came accross. It's possible these MP's use more custom attributes. Let me know when you want to add something to this list.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;You can check this quickly by creating an alert view (MyWorkspace also possible), and show all alerts with a filter on custom attribute 1 to 10 with text '%'.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-9111387823187089492?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/9111387823187089492/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2011/06/scom-reserved-custom-attributes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/9111387823187089492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/9111387823187089492'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2011/06/scom-reserved-custom-attributes.html' title='SCOM: Reserved Custom Attributes?'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-6177305029148174162</id><published>2011-05-25T20:00:00.003+02:00</published><updated>2011-05-25T20:00:01.154+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Reporting'/><category scheme='http://www.blogger.com/atom/ns#' term='Management packs'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='Community'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><title type='text'>SCOM: Small edit for SCC Logical Disk Extension Management Pack</title><content type='html'>This blog post is about the SCC &lt;a href="http://www.systemcentercentral.com/PackCatalog/PackCatalogDetails/tabid/145/IndexId/64216/Default.aspx"&gt;Logical Disk Extension Management Pack&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;This MP is a real nice example of a combined forces from the System Center community. It contains some extra Logical Disk collection rules and two Logical Disk reports.&lt;br /&gt;&lt;br /&gt;Using the MP is pretty simple, but i noticed two small things.&lt;br /&gt;The parameter list to select a Computer Group is not sorted. Finding the right group between more that 300 groups can be a hassle. And after generating a report the Computer Group name is shown. But as many groups are created through the Operations Console, a Display Name would be nicer.&lt;br /&gt;&lt;br /&gt;To change this I modified the RDL file directly and notified the creators of this MP. Remember that this is not the standard method for editing SCOM reports.&lt;br /&gt;&lt;br /&gt;For sorting the computer groups...&lt;br /&gt;&lt;br /&gt;I changed:&lt;br /&gt;&lt;pre class="brush: sql"&gt;SELECT FullName, DisplayName&lt;br /&gt;FROM OperationsManagerDW.dbo.vManagedEntity with (nolock) where Path is null and FullName not like '%:%' and DisplayName like '%Computer%'&lt;/pre&gt;To:&lt;br /&gt;&lt;pre class="brush: sql"&gt;SELECT FullName, DisplayName&lt;br /&gt;FROM OperationsManagerDW.dbo.vManagedEntity with (nolock) where Path is null and FullName not like '%:%' and DisplayName like '%Computer%'&lt;br /&gt;ORDER BY DisplayName&lt;/pre&gt;And for the table footer...&lt;br /&gt;&lt;br /&gt;I changed:&lt;br /&gt;&lt;pre class="brush: xml"&gt;&amp;lt;value&amp;gt;=Parameters!Group.Value&amp;lt;/value&amp;gt;&amp;lt;/textbox&amp;gt;&lt;/pre&gt;To:&lt;br /&gt;&lt;pre class="brush: xml"&gt;&amp;lt;value&amp;gt;=Parameters!Group.Label&amp;lt;/value&amp;gt;&amp;lt;/textbox&amp;gt;&lt;/pre&gt;I you want, you can download the RDL file here: &lt;a href="https://sites.google.com/site/systemcentertechblogresources/scripts/Windows.LogicalDrives.FreeSpace.Report_MichielWouters_1.0.rdl?attredirects=0&amp;amp;d=1"&gt;https://sites.google.com/site/systemcentertechblogresources/scripts/Windows.LogicalDrives.FreeSpace.Report_MichielWouters_1.0.rdl?attredirects=0&amp;amp;d=1&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-6177305029148174162?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/6177305029148174162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2011/05/scom-small-edit-for-scc-logical-disk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/6177305029148174162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/6177305029148174162'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2011/05/scom-small-edit-for-scc-logical-disk.html' title='SCOM: Small edit for SCC Logical Disk Extension Management Pack'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-5121583240496707924</id><published>2011-05-25T15:29:00.003+02:00</published><updated>2011-05-25T15:35:59.351+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PowerShell'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='Override'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><title type='text'>SCOM: Get Overrides from Management Pack</title><content type='html'>Here's an example of how to retrieve all overrides from a specific management pack and get additional information about the overriden rule and override context.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: ps"&gt;Get-ManagementPack  where {$_.DisplayName -match "Your Management Pack"}  Get-Override  % {Get-Rule -Id $_.Rule.Id  Select DisplayName&lt;br /&gt;; Get-MonitoringClass -Id $_.Context.Id; Write-Host $_.Parameter: $_.Value}&lt;/pre&gt;To manage all your overrides you could use a tool like &lt;a href="http://blogs.msdn.com/b/boris_yanushpolsky/archive/2007/08/09/override-explorer-v3-3.aspx"&gt;OverrideExplorer&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-5121583240496707924?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/5121583240496707924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2011/05/scom-get-overrides-from-management-pack.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/5121583240496707924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/5121583240496707924'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2011/05/scom-get-overrides-from-management-pack.html' title='SCOM: Get Overrides from Management Pack'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-5530861586450521408</id><published>2011-04-21T10:39:00.004+02:00</published><updated>2011-04-21T10:50:47.563+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Authoring'/><category scheme='http://www.blogger.com/atom/ns#' term='System Center'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='Documentation'/><title type='text'>Searching for Management Pack authoring</title><content type='html'>Today I came accross a blog post of Brian Wren from Microsoft.&lt;br /&gt;They're working on a better search solution for finding information focussed on System Center technologies.&lt;br /&gt;&lt;br /&gt;Now information and examples are scattered around the internet on forums, blogs, technet, community sites and you name it.&lt;br /&gt;&lt;br /&gt;The solution Microsoft is working on is called 'System Center Cloud Search'. It's using the Bing search engine with selected data sources to search in.&lt;br /&gt;&lt;br /&gt;For now, the beta is focussed on Management Pack Authoring.&lt;br /&gt;&lt;br /&gt;See the whole story here: &lt;a href="http://blogs.technet.com/b/mpauthor/archive/2011/04/15/cloud-search-for-management-pack-authoring.aspx"&gt;http://blogs.technet.com/b/mpauthor/archive/2011/04/15/cloud-search-for-management-pack-authoring.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Give it a shot to see if this works for you and help making it better!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-5530861586450521408?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/5530861586450521408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2011/04/searching-for-management-pack-authoring.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/5530861586450521408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/5530861586450521408'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2011/04/searching-for-management-pack-authoring.html' title='Searching for Management Pack authoring'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-7712415045886502270</id><published>2011-02-25T17:18:00.014+01:00</published><updated>2011-08-09T18:02:14.246+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Authoring'/><category scheme='http://www.blogger.com/atom/ns#' term='Management packs'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='CU4'/><title type='text'>SCOM: CU4 and Microsoft.SystemCenter.Library.mp 6.1.7221.61</title><content type='html'>This blog post is for those who updated SCOM with CU4 and have issues with the Authoring Console and Microsoft.SystemCenter.Library.mp version 6.1.7221.61.&lt;br /&gt;-----------------------------&lt;br /&gt;** Update: 08/09/2011 **&lt;br /&gt;Microsoft published a KB-article which resolves this problem:&lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/2590414"&gt;http://support.microsoft.com/kb/2590414&lt;/a&gt;&lt;br /&gt;-----------------------------&lt;br /&gt;&lt;br /&gt;After applying CU4, Microsoft.SystemCenter.Library management pack is updated.&lt;br /&gt;When using the Authoring Console on MP's created in a CU4 Management Group, you are prompted for Microsoft.SystemCenter.Library.mp 6.1.7221.61.&lt;br /&gt;&lt;br /&gt;But, the MP file is not available from the CU4 installation sources.&lt;br /&gt;&lt;br /&gt;The management pack is updated trough the sql batch on the OperationsManager database, CU4_Database.sql.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush:sql"&gt;DECLARE @ver nvarchar(25)&lt;br /&gt;DECLARE @compare int&lt;br /&gt;SET @ver = (SELECT Mpversion FROM ManagementPack WHERE MPName = 'Microsoft.SystemCenter.Library')&lt;br /&gt;-- Update Microsoft.SystemCenter.Libarary MP directly via SQL&lt;/pre&gt;&lt;br /&gt;A thread about this is going on at the Microsoft forums: &lt;a href="http://social.technet.microsoft.com/Forums/en-US/operationsmanagermgmtpacks/thread/45d6bac1-4b10-4f36-86de-2efea895fc94"&gt;http://social.technet.microsoft.com/Forums/en-US/operationsmanagermgmtpacks/thread/45d6bac1-4b10-4f36-86de-2efea895fc94&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;There is an easy workaround mentioned on the forum by dbabob56:&lt;br /&gt;After exporting you can change the version number.&lt;br /&gt;&lt;br /&gt;FROM&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush:sql"&gt;&lt;br /&gt;      &lt;reference alias="SystemCenter"&gt;&lt;br /&gt;        &lt;id&gt;Microsoft.SystemCenter.Library&lt;/id&gt;&lt;br /&gt;        &lt;version&gt;6.1.7221.61&lt;/version&gt;&lt;br /&gt;        &lt;publickeytoken&gt;31bf3856ad364e35&lt;/publickeytoken&gt;&lt;br /&gt;      &lt;/reference&gt;&lt;/pre&gt;TO&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush:sql"&gt;&lt;br /&gt;      &lt;reference alias="SystemCenter"&gt;&lt;br /&gt;        &lt;id&gt;Microsoft.SystemCenter.Library&lt;/id&gt;&lt;br /&gt;        &lt;version&gt;6.1.7221.0&lt;/version&gt;&lt;br /&gt;        &lt;publickeytoken&gt;31bf3856ad364e35&lt;/publickeytoken&gt;&lt;br /&gt;      &lt;/reference&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-7712415045886502270?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/7712415045886502270/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2011/02/scom-cu4-and-microsoftsystemcenterlibra.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/7712415045886502270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/7712415045886502270'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2011/02/scom-cu4-and-microsoftsystemcenterlibra.html' title='SCOM: CU4 and Microsoft.SystemCenter.Library.mp 6.1.7221.61'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-4260487216248437502</id><published>2011-02-17T22:38:00.014+01:00</published><updated>2011-02-17T23:53:26.271+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Configuring'/><category scheme='http://www.blogger.com/atom/ns#' term='Run As'/><category scheme='http://www.blogger.com/atom/ns#' term='PowerShell'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><title type='text'>SCOM: Account specified in the Run As Profile cannot be resolved - Troubleshooting using SSID</title><content type='html'>Some management packs require configuration of Run As Profiles.&lt;br /&gt;This means that you configure associations between classes/objects and Run As Accounts. Whenever a workflow from a management pack is instructed to use a Run As Profile it will only work when the targeted class or object of the workflow is associated with an account. And last but not least, the Run As Account should be distributed to the servers on which that class exists.&lt;br /&gt;&lt;br /&gt;This blogs shows you some tips on how to troubleshoot alerts associated with these kind of things.&lt;br /&gt;&lt;br /&gt;When you misconfigure the Run As Profile, the following alert can popup in your console:&lt;br /&gt;&lt;span style="font-style:italic;"&gt; Account specified in the Run As Profile "&amp;gt;RunasAccountProfile&amp;lt;" cannot be resolved.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;With some extra info:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Management Group: ###&lt;br /&gt;Run As Profile: Company.Product.Role.Application.ActionAccountProfile&lt;br /&gt;Account SSID: 0025F224C5251A6F4EEE112ACD9F0EB07D9178AFB500000000000000000000000000000000000000&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This alert tells you that you associated the runas account, but the agent that tries to use the account, did not actually receive the account credentials.&lt;br /&gt;So either you add the server to the distribution list, or you reconfigure the runas profile associations with beter classes/objects.&lt;br /&gt;&lt;br /&gt;But he! I can't find the specified Run As Profile 'Company.Product.Role.Application.ActionAccountProfile'. That's right. That's the Name property shown in the description. If you want to find the Run As Profile as it's showed in the Operations Console, you will need the DisplayName. For that we could use the Operations Manager Shell:&lt;br /&gt;&lt;pre class="brush: ps"&gt;Get-RunAsProfile ... oh, that cmdlet does not exist :(&lt;/pre&gt;&lt;br /&gt;What more does the alert message say? This is interesting:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Note: you may use the command shell to get the Run As Account display name by its SSID"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We could use the SSID from the alert message. The Ops Mgr Shell does have a cmdlet for showing the Run As Accounts.&lt;br /&gt;The only problem we have here, is that the SSID mentioned in the alert description is a string type value. Cmdlet Get-RunAsAccount shows us that the SSID is stored as a byte array in the property SecureStorageId. So we can't compare these types.&lt;br /&gt;&lt;br /&gt;For that i've created this script. It gets all Run As Account, formats the byte array SecureStorageId property to a readable string, and show the Run As Account DisplayName with it's SSID.&lt;br /&gt;&lt;pre class="brush: ps"&gt;Get-RunAsAccount | Sort Name | % {$string = $null;$_.SecureStorageId | % { &lt;br /&gt; $string = $string + "{0:X2}" -f $_}&lt;br /&gt; $_.Name;"  $string"&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;PowerShell does not have built-in functions for formatting numbers, therefore you can use the &lt;a href="http://technet.microsoft.com/en-us/library/ee692795.aspx"&gt;.Net formatting methods&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;With this in mind you could add a string comparison to only show a match when the Alert Message SSID correspands with the SecureStorageId string ($string).&lt;br /&gt;If you need help with that, leave a message.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-4260487216248437502?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/4260487216248437502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2011/02/scom-account-specified-in-run-as.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/4260487216248437502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/4260487216248437502'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2011/02/scom-account-specified-in-run-as.html' title='SCOM: Account specified in the Run As Profile cannot be resolved - Troubleshooting using SSID'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-6579068406826324810</id><published>2011-02-07T11:33:00.006+01:00</published><updated>2011-02-07T11:39:04.134+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Script'/><category scheme='http://www.blogger.com/atom/ns#' term='PowerShell'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='Notification'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><title type='text'>SCOM: Find Notification Subscriptions for Subscriber</title><content type='html'>What to do when you want to delete a subscriber in SCOM, but you can't because get an error like this:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;The notification recipient is subscribed to at least one notification subscription.&lt;br /&gt;Please remove it from all notification subscriptions before deleting it.&lt;br /&gt;.....cannot be deleted as its currently in use.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;To solve this you would have to browse manually through all your notification subscriptions. But how much time would that take.&lt;br /&gt;With this PowerShell script it takes 2 seconds!&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: ps"&gt;Get-NotificationSubscription | foreach {&lt;br /&gt; $ns = $_.DisplayName&lt;br /&gt; $_.ToRecipients | foreach { &lt;br /&gt;  If ($_.Name -match "John") {&lt;br /&gt;   Write-Host $ns&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;}&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-6579068406826324810?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/6579068406826324810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2011/02/scom-find-notification-subscriptions.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/6579068406826324810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/6579068406826324810'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2011/02/scom-find-notification-subscriptions.html' title='SCOM: Find Notification Subscriptions for Subscriber'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-7708920695794116690</id><published>2010-12-09T21:00:00.000+01:00</published><updated>2010-12-09T21:00:02.019+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PowerShell'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='User Role'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><title type='text'>SCOM: Find Specific Members in User Roles (PowerShell)</title><content type='html'>Last week I was doing some User Role testing with a test account of mine. Normally I always use Active Directory groups for adding and removing members of a user role.&lt;br /&gt;But for quick testing with some views I added my test account directly to several user roles.&lt;br /&gt;&lt;br /&gt;I wanted to know in which user roles my test account was added.&lt;br /&gt;Beneath is a PowerShell script to find members of a user role which name contains the given search criteria. The name is usually a (AD) User Account or Group, like Admin1234@domain.local or DOMAIN\Admin123.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: ps"&gt;#Find member of userrole which contains a specific text&lt;br /&gt;#The search criteria is case-sensitive&lt;br /&gt;&lt;br /&gt;$searchtext = "Admin"&lt;br /&gt;Get-Userrole | Sort DisplayName | % { $userrole = $_.DisplayName;$_.Users | % { If($_.Contains("$searchtext")){ Write-Host -foregroundcolor yellow $userrole;Write-Host "  $_"} }}&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-7708920695794116690?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/7708920695794116690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/12/scom-find-specific-members-in-user.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/7708920695794116690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/7708920695794116690'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/12/scom-find-specific-members-in-user.html' title='SCOM: Find Specific Members in User Roles (PowerShell)'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-87110193277781238</id><published>2010-12-08T08:30:00.008+01:00</published><updated>2010-12-08T10:28:28.489+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Groups'/><category scheme='http://www.blogger.com/atom/ns#' term='PowerShell'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><title type='text'>SCOM: Get Nested Group Members (Powershell)</title><content type='html'>When you create nested groups in SCOM you have to use workarounds to view the actual group members of a specific type, e.g. Windows Computer. Using 'View Members' only returns the nested groups and not the contained objects.&lt;br /&gt;&lt;br /&gt;One of the ways to view the actual members of a group, is to create a 'State View'.&lt;br /&gt;As a "filter" you then change the class type to show the data related to the type you want to see and then you select the group for scoping the returned data.&lt;br /&gt;&lt;br /&gt;So in short terms, to view the nested group members&lt;br /&gt;- Create a state view&lt;br /&gt;- Change "Show data related to" to a class like 'Windows Computer'&lt;br /&gt;- Change "Show data contained in a specific group" to the group of which you want the members.&lt;br /&gt;&lt;br /&gt;But, there's quicker way to achieve this. Using Powershell you can retrieve the members of a nested group in a couple of seconds. I found out about 'Recursive' using the &lt;a href="http://msdn.microsoft.com/en-us/library/cc268402.aspx"&gt;SCOM SDK&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: ps"&gt;$group = Get-MonitoringObject | Where { $_.DisplayName -eq "YourGroupName"}&lt;br /&gt;$MonitoringClass = Get-MonitoringClass -Name "Microsoft.Windows.Computer"&lt;br /&gt;$group.GetRelatedMonitoringObjects($MonitoringClass,"Recursive") | Select DisplayName&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-87110193277781238?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/87110193277781238/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/12/scom-get-nested-group-members.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/87110193277781238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/87110193277781238'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/12/scom-get-nested-group-members.html' title='SCOM: Get Nested Group Members (Powershell)'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-4485657757432083480</id><published>2010-11-30T20:45:00.006+01:00</published><updated>2010-11-30T20:45:00.688+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Core'/><category scheme='http://www.blogger.com/atom/ns#' term='Management packs'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='Documentation'/><title type='text'>SCOM 2007 R2 Core MP Update &amp; Guide Inconsistency</title><content type='html'>Last week Microsoft published a new version of the Core MP for SCOM 2007 R2, version 6.1.7695.0, see &lt;a href="http://blogs.technet.com/b/kevinholman/archive/2010/11/24/opsmgr-2007-r2-core-mp-s-updated-6-1-7695-0.aspx"&gt;Kevin Holman's blog&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The MP Guide showed 3 new rules that where added with this version as a substitution for two monitors which you &lt;strong&gt;could&lt;/strong&gt; enable and disable, respectively.&lt;br /&gt;&lt;br /&gt;However after loading the MP in my test environment, it showed that the new rules are already enabled and the substituted monitors disabled.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_C6N6L4R8RYY/TPT8iRw9CcI/AAAAAAAAAKA/G46Sm4ns8v0/s1600/CoreMPUpdateMonitorsDisabled.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5545334707014404546" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 45px" alt="" src="http://1.bp.blogspot.com/_C6N6L4R8RYY/TPT8iRw9CcI/AAAAAAAAAKA/G46Sm4ns8v0/s320/CoreMPUpdateMonitorsDisabled.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_C6N6L4R8RYY/TPT8t4wyEsI/AAAAAAAAAKI/SBRVJLrbdCQ/s1600/CoreMPUpdateRulesEnabled.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5545334906461229762" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 36px" alt="" src="http://4.bp.blogspot.com/_C6N6L4R8RYY/TPT8t4wyEsI/AAAAAAAAAKI/SBRVJLrbdCQ/s320/CoreMPUpdateRulesEnabled.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Quote:&lt;span style="font-size:85%;"&gt; &lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;blockquote&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;Manual Reset MonitorsThe Operations Manager Management Pack contains two monitors that require manual reset of health state, which are listed below. In version 6.1.7695.0 of the management pack, rules have been included that you &lt;span style="font-size:100%;"&gt;&lt;strong&gt;&lt;u&gt;can&lt;/u&gt;&lt;/strong&gt; ??? &lt;/span&gt;enable in place of those monitors. The rules generate alerts for the same conditions as the monitors.&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;You &lt;u&gt;can&lt;/u&gt; disable Alert Subscription Configuration Monitor and in its place, &lt;em&gt;enable&lt;/em&gt; the following&lt;br /&gt;rules:&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Alert Subscription Configuration Critical Notification Rule, which generates a critical alert on the same critical conditions as the monitor.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Alert Subscription Configuration Warning Notification Rule, which generates a warning alert on the same warning conditions as the monitor.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;You &lt;u&gt;can&lt;/u&gt; disable the Alert Subscription Available monitor, and in its place, &lt;em&gt;enable&lt;/em&gt; Alert Subscription Availability Critical Notification Rule, which generates a critical alert on the&lt;br /&gt;same critical conditions as the monitor.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Just wanted to let you know.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-4485657757432083480?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/4485657757432083480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/11/scom-2007-r2-core-mp-update-guide.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/4485657757432083480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/4485657757432083480'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/11/scom-2007-r2-core-mp-update-guide.html' title='SCOM 2007 R2 Core MP Update &amp; Guide Inconsistency'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_C6N6L4R8RYY/TPT8iRw9CcI/AAAAAAAAAKA/G46Sm4ns8v0/s72-c/CoreMPUpdateMonitorsDisabled.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-6848043028389031304</id><published>2010-11-19T15:04:00.005+01:00</published><updated>2010-11-19T16:21:37.831+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Subscription'/><category scheme='http://www.blogger.com/atom/ns#' term='Reporting'/><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><title type='text'>SCOM: Deliver Reports to Sharepoint</title><content type='html'>Today I focussed on delivering SCOM reports to a Sharepoint document library with the &lt;em&gt;File Share&lt;/em&gt; and &lt;em&gt;e-mail&lt;/em&gt; delivery methods.&lt;br /&gt;&lt;br /&gt;Most teams and departments have used file shares and network mappings to store their documents. These days more and more companies are using portal products for that purpose, like Microsoft Sharepoint.&lt;br /&gt;&lt;br /&gt;In this blog I'll show you how you can deliver a report to a Sharepoint 2007 library. Although this is not difficult to setup, there are some things you need to know to get it working. In this setup SQL SRS 2005 and Sharepoint 2007 are used.&lt;br /&gt;&lt;br /&gt;Note: SQL Reporting Services 2008 supports publishing reports directly in Sharepoint libraries, but SCOM 2007 does not support that. Atleast as far as I know. :)&lt;br /&gt;&lt;br /&gt;Operations Manager supports two kinds of delivery, file and e-mail.&lt;br /&gt;Both flavours can work, but it fully depends on how your Sharepoint implementation is setup.&lt;br /&gt;&lt;em&gt;There's a third but that's the Null Delivery Provider to cache reports.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;E-mail delivery&lt;/strong&gt;&lt;br /&gt;For Operations Manager Reporting to deliver e-mail to a library the following has to be in place and configured.&lt;br /&gt;&lt;p&gt;&lt;u&gt;Configure SQL Reporting Services&lt;/u&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Use the Reporting Services Configuration Manager&lt;/li&gt;&lt;li&gt;Make sure the the Windows Service identity is configured with a domain user account and not with a local account (Data Warehouse Reader account).&lt;/li&gt;&lt;li&gt;Configure the E-mail Setttings&lt;/li&gt;&lt;li&gt;Make sure your SMTP server allows you to send e-mail&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;u&gt;Configure you Sharepoint document library&lt;/u&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Make sure you have administrative rights on the document library&lt;/li&gt;&lt;li&gt;Configure incoming e-mail settings on the library in which you want to deliver your reports&lt;/li&gt;&lt;li&gt;Unfortunately you cannot change the name of the file SQL Reporting Services sends along with the e-mail message.&lt;/li&gt;&lt;li&gt;As i want to archive all reports, I don't want them to be overwritten. In this case Sharepoint will create unique numbers as a postfix in the file name.&lt;/li&gt;&lt;li&gt;If you don't want everyone to be able to send documents in to your library restrict access to specific users. In this case configure the SCOM Reporting Windows Service account to be allowed to send e-mail (Data Warehouse Reader account).&lt;/li&gt;&lt;li&gt;Group items on the e-mail subject. This is the only configurable item when you schedule a SCOM report.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;u&gt;Schedule your reports&lt;/u&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Choose a naming convention for delivering your reports.&lt;/li&gt;&lt;li&gt;Use that in naming your e-mail subjects, so they are neatly grouped in your Sharepoint library.&lt;/li&gt;&lt;li&gt;Choose the right document format, e.g. PDF.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;And the deliver!&lt;/p&gt;&lt;br /&gt;&lt;strong&gt;Windows File Share (Sharepoint Library UNC path)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The other option is deliver the reports in to a file share. This is rather easy to setup when you're using ordinary File Shares, but as I sead earlier, more and more companies are using centralised documentation solutions like Sharepoint.&lt;br /&gt;What I like about this delivery method is the possibility to give your reports a more understandable name. And more, SQL Reporting Services auto increments the new files which is more readable than the generated unique numbers when using incoming email on the Sharepoint library.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;What you need:&lt;/u&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;A domain account for authentication on the Sharepoint library. You could use "RDA" in the account name, as for Report Delivery Account.&lt;/li&gt;&lt;li&gt;Configure the account to have enought privileges to add new items to that library&lt;/li&gt;&lt;li&gt;Write down the Network UNC path of that library&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;u&gt;Configure your Report Server&lt;/u&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;On Windows Server 2003: Make sure the &lt;em&gt;Web Client&lt;/em&gt; service is running and is started automatically. You need this to connect to a Sharepoint library with UNC.&lt;/li&gt;&lt;li&gt;On Windows Server &lt;strong&gt;2008:&lt;/strong&gt; There's no Web Client in Windows Server 2008. For the UNC path to work you need to install a feature called, &lt;a href="http://www.google.nl/search?q=windows+server+2008+desktop+experience+for+Sharepoint&amp;amp;hl=nl&amp;amp;sa=2"&gt;Desktop Experience&lt;/a&gt;. You can add this feature with the Server Manager &gt; Features &gt; Add Feature &gt; Desktop Experience. Notice that you'll need to &lt;u&gt;reboot&lt;/u&gt; the Reporting Server after the installation.&lt;/li&gt;&lt;li&gt;Test the UNC path of the library from your Report Server&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;u&gt;Schedule your report&lt;/u&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Select the File Delivery Method&lt;/li&gt;&lt;li&gt;Choose a naming convention for delivering your reports.&lt;/li&gt;&lt;li&gt;Use that in naming your report files (remember that file names of new items are autoincremented)&lt;/li&gt;&lt;li&gt;Fill-in the UNC path of the library that you wrote down earlier&lt;/li&gt;&lt;li&gt;Use the domain account with the necessary privileges (a.k.a. Report Delivery Account)&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;And then you can deliver your report.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-6848043028389031304?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/6848043028389031304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/11/scom-deliver-reports-to-sharepoint.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/6848043028389031304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/6848043028389031304'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/11/scom-deliver-reports-to-sharepoint.html' title='SCOM: Deliver Reports to Sharepoint'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-7352737603304394667</id><published>2010-09-29T10:49:00.011+02:00</published><updated>2010-12-08T09:22:54.772+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PowerShell'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><title type='text'>SCOM: Recipient address not valid - Find with PowerShell</title><content type='html'>One of the benefits of Operations Manager 2007 is the capability for users to create and maintain their own subscription notifications.&lt;br /&gt;&lt;br /&gt;When a user adds a notification device to there recipient configuration, it's easy to make a small mistake. Whenever the Notifcation Server on the RMS trying to send a notification to a misconfigured address an alert is triggered, "Recipient address &amp;lt;address&amp;gt; is not valid."&lt;br /&gt;&lt;br /&gt;The alert description shows in which subscription this address is used, but it's more important to know in which recipient this address can be found.&lt;br /&gt;&lt;br /&gt;For that you can use this PowerShell script:&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: ps"&gt;$searchcriteria = "yourtext"&lt;br /&gt;Get-NotificationRecipient | foreach {&lt;br /&gt; $addresses = $null;&lt;br /&gt; $subname = $null;&lt;br /&gt; $subname = $_.Name;&lt;br /&gt; $addresses = $_.Devices | Where {&lt;br /&gt;  $_.Address -match $searchcriteria&lt;br /&gt; }&lt;br /&gt; if ($addresses -ne $null) {&lt;br /&gt;  Write-Host '***' $subname '***'; $addresses&lt;br /&gt; }&lt;br /&gt;}&lt;/pre&gt;As a one-liner:&lt;br /&gt;&lt;pre class="brush: ps"&gt;$searchcriteria = "yourtext";Get-NotificationRecipient | foreach {$addresses = $null;$subname=$null;$subname = $_.Name;$addresses = $_.Devices | Where {$_.Address -match $searchcriteria }; if ($addresses -ne $null) { Write-Host '***' $subname '***'; $addresses}}&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-7352737603304394667?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/7352737603304394667/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/09/scom-recipient-address-not-valid-find.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/7352737603304394667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/7352737603304394667'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/09/scom-recipient-address-not-valid-find.html' title='SCOM: Recipient address not valid - Find with PowerShell'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-8075197739320608396</id><published>2010-09-27T13:56:00.008+02:00</published><updated>2010-09-29T11:08:56.652+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Data Warehouse'/><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><category scheme='http://www.blogger.com/atom/ns#' term='DWH'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>SCOM: Average Events Per Day keeps the doctor away</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_C6N6L4R8RYY/TKCH5n37HuI/AAAAAAAAAJc/XNH-DnfS2_U/s1600/SCOM_DWH_AvgEventsPerDay.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5521562567182065378" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 200px; CURSOR: hand; HEIGHT: 52px" alt="" src="http://4.bp.blogspot.com/_C6N6L4R8RYY/TKCH5n37HuI/AAAAAAAAAJc/XNH-DnfS2_U/s200/SCOM_DWH_AvgEventsPerDay.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;First of all, because I'm very busy with actually working on SCOM projects I can't spend the time blogging about SCOM as much as I would like.&lt;br /&gt;&lt;br /&gt;But today I found some time to blog about a simple, but handy, SQL query I used to determine the average number of events stored in the Data Warehouse database per day.&lt;br /&gt;&lt;br /&gt;At the base I used a query from &lt;a href="http://blogs.technet.com/b/jonathanalmquist/archive/2009/04/25/operations-manager-2007-sql-queries.aspx"&gt;Jonathan Almquist&lt;/a&gt;. Then I used that query as derative to count and calculate the average number of events per day. You can adjust the number of days, if you want.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: sql"&gt;select Count(Date) as 'Number Of Days', Avg(Events) As 'Average Number of Events'&lt;br /&gt;From (&lt;br /&gt;SELECT CONVERT(VARCHAR(10), DateTime, 101) AS Date, Count(*) AS Events&lt;br /&gt;FROM Event.vEvent&lt;br /&gt;WHERE (DateTime BETWEEN DATEADD(day, - 6, GETDATE()) AND GETDATE())&lt;br /&gt;GROUP BY CONVERT(VARCHAR(10), DateTime, 101)&lt;br /&gt;) x&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;So, what can you do with this?&lt;br /&gt;Well, how do you know if your Management Servers can cache the event data collected by your agents when your Data Warehouse is down for a couple of hours.&lt;br /&gt;Running these type of queries can help you understand how much data is stored in the Data Warehouse over time.&lt;br /&gt;&lt;br /&gt;Tools like dwdatarp are also very helpfull to understand the data storage of the DWH.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-8075197739320608396?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/8075197739320608396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/09/scom-average-events-per-day-keeps.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/8075197739320608396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/8075197739320608396'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/09/scom-average-events-per-day-keeps.html' title='SCOM: Average Events Per Day keeps the doctor away'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_C6N6L4R8RYY/TKCH5n37HuI/AAAAAAAAAJc/XNH-DnfS2_U/s72-c/SCOM_DWH_AvgEventsPerDay.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-1650940777883607060</id><published>2010-07-30T23:03:00.008+02:00</published><updated>2010-08-04T10:52:04.057+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCOM R2'/><category scheme='http://www.blogger.com/atom/ns#' term='Documentation'/><title type='text'>SCOM: Operations Manager 2007 R2 Documentation</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_C6N6L4R8RYY/TFNCdA7utHI/AAAAAAAAAJM/pWkfLkJz8kM/s1600/NewDownloads2.PNG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5499812636183671922" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 200px; CURSOR: hand; HEIGHT: 153px" alt="" src="http://4.bp.blogspot.com/_C6N6L4R8RYY/TFNCdA7utHI/AAAAAAAAAJM/pWkfLkJz8kM/s200/NewDownloads2.PNG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;As I was browsing the Microsoft Technet site (most recent downloads) I came across a renewed documentation package for Operations Manager 2007 R2.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;In this package you'll find everything you need for administering and authoring your OpsMgr environment, including XPlat! Also an easy way to complete your documentation library if it's not already up-to-date.&lt;/p&gt;&lt;p&gt;Here's a list with the contents:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Linked.Reporting.MP.xml&lt;/li&gt;&lt;li&gt;&lt;strong&gt;OM2007_AuthGuideXplat.exe&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;OM2007_ReportAuthoringGuide.docx&lt;/li&gt;&lt;li&gt;&lt;strong&gt;OM2007R2_CrossPlatformMPAuthoringGuide.docx&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;OM2007R2_CrossPlatformMPAuthoringGuide_Samples.zip&lt;/strong&gt;&lt;/li&gt;&lt;li&gt;OM2007R2_DeploymentGuide.docx&lt;/li&gt;&lt;li&gt;OM2007R2_DesignGuide.docx&lt;/li&gt;&lt;li&gt;OM2007R2_MigrationGuide.docx&lt;/li&gt;&lt;li&gt;OM2007R2_MPAuthoringGuide.docx&lt;/li&gt;&lt;li&gt;OM2007R2_MPModuleReference.docx&lt;/li&gt;&lt;li&gt;OM2007R2_OperationsAdministratorsGuide.docx&lt;/li&gt;&lt;li&gt;OM2007R2_OperationsUsersGuide.docx&lt;/li&gt;&lt;li&gt;OM2007R2_SecurityGuide.docx&lt;/li&gt;&lt;li&gt;OM2007R2_UpgradeGuide.docx&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;If you want it all, just use the last download link&lt;/p&gt;&lt;ul&gt;&lt;li&gt;System Center Operations Manager 2007 R2 Documentation.zip&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Microsoft's technet site: &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=19BD0EB5-7CA0-41BE-8C0F-2D95FE7EC636&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=19BD0EB5-7CA0-41BE-8C0F-2D95FE7EC636&amp;amp;displaylang=en&lt;/a&gt; &lt;/p&gt;&lt;p&gt;Even for the more experienced people there's a change already known documents are updated since the last time they were used in the field. So check it out.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-1650940777883607060?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/1650940777883607060/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/07/scom-operations-manager-2007-r2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/1650940777883607060'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/1650940777883607060'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/07/scom-operations-manager-2007-r2.html' title='SCOM: Operations Manager 2007 R2 Documentation'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_C6N6L4R8RYY/TFNCdA7utHI/AAAAAAAAAJM/pWkfLkJz8kM/s72-c/NewDownloads2.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-788574815742612009</id><published>2010-07-01T11:11:00.008+02:00</published><updated>2010-07-02T09:25:08.943+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PowerShell'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><title type='text'>SCOM: Find those heavy group discoveries</title><content type='html'>Two days ago on the '&lt;a href="http://blogs.technet.com/b/operationsmgr/archive/2010/06/29/is-your-operations-manager-console-slow-when-editing-groups-if-so-here-s-a-tip-to-get-you-back-in-the-fast-lane.aspx"&gt;The Operations Manager Support Team Blog&lt;/a&gt;' a blog was posted about editing Groups and the slow Operation Manager Console. They advise to consolidate the number of membershiprules and expressions in regular expression.&lt;br /&gt;&lt;br /&gt;But how do you know which groups are eligable for a consolidation? Well, for that I created this script.&lt;br /&gt;It retrieves groups that comply with the given user input for the 'DisplayName'. For every group the Discovery information is retrieved. If the Discovery Configuration matches the prededined thresholds for the number of MembershipRules and/or Expressions, the output will be in red. Otherwise it will be in green. The threshold can be changed at will.&lt;br /&gt;&lt;br /&gt;Download: &lt;a href="http://sites.google.com/site/systemcentertechblogresources/scripts/ShowGroupDiscoveryDatasourceConfiguration.ps1"&gt;ShowGroupDiscoveryDatasourceConfiguration.ps1&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: ps"&gt;#User-input only works from within a script!&lt;br /&gt;$strGroup = Read-Host "Enter a group discovery name (wildcard) string";&lt;br /&gt;&lt;br /&gt;$intMembershipRuleThreshold = 3;&lt;br /&gt;$intMembershipRuleExpressionThreshold = 5;&lt;br /&gt;$intMembershipRuleCount = 0;&lt;br /&gt;$intMembershipRuleExpressionCount = 0;&lt;br /&gt;&lt;br /&gt;#These Id's are the base Id's which are usually used when creating groups&lt;br /&gt;$strInstanceGroupBaseClassId = "4ce499f1-0298-83fe-7740-7a0fbc8e2449" #Instance group&lt;br /&gt;$strComputerGroupBaseClassId = "0c363342-717b-5471-3aa5-9de3df073f2a" #Computer group&lt;br /&gt;&lt;br /&gt;Write-Host "Retrieving class that match:" $strGroup;&lt;br /&gt;$colGroups = Get-MonitoringClass | where {$_.DisplayName -match "$strGroup" -and $_.Base -ne $null} | Sort-Object -Property DisplayName&lt;br /&gt;&lt;br /&gt;if ($colGroups -ne $null) {&lt;br /&gt; $colGroups | foreach {&lt;br /&gt;  If (($_.Base.Id.ToString() -eq $strInstanceGroupBaseClassId) -Or ($_.Base.Id.ToString() -eq $strComputerGroupBaseClassId)){&lt;br /&gt;   Write-Host "Class:" $_.DisplayName;&lt;br /&gt;   $colDiscoveries = $_.GetMonitoringDiscoveries();&lt;br /&gt;   #check if discoveries exist&lt;br /&gt;   If ($colDiscoveries.Count -ne 0) {&lt;br /&gt;    $colDiscoveries | foreach {&lt;br /&gt;     Write-Host "  Discovery:";&lt;br /&gt;     $config = [xml] ("&lt;config&gt;" + $_.DataSource.Configuration + "&lt;/config&gt;");&lt;br /&gt;     #check wether Discovery uses membership rules&lt;br /&gt;     $intMembershipRuleCount = $config.GetElementsByTagName("MembershipRule").Count;&lt;br /&gt;     If($intMembershipRuleCount -gt 0){&lt;br /&gt;      If ($intMembershipRuleCount -ge $intMembershipRuleThreshold){&lt;br /&gt;       Write-Host "    MembershipRules:" $intMembershipRuleCount -ForeGroundColor red;&lt;br /&gt;      } else {&lt;br /&gt;       Write-Host "    MembershipRules:" $intMembershipRuleCount -ForeGroundColor green;&lt;br /&gt;      }&lt;br /&gt;      $intIndex = 0;&lt;br /&gt;      $config.config.MembershipRules.MembershipRule | %{&lt;br /&gt;       $intIndex++;&lt;br /&gt;       $intMembershipRuleExpressionCount = $_.GetElementsByTagName("Expression").Count;&lt;br /&gt;       If ($intMembershipRuleExpressionCount -gt 0) { &lt;br /&gt;        Write-Host "      Membership Rule #$intIndex";&lt;br /&gt;        If ($intMembershipRuleExpressionCount -ge $intMembershipRuleExpressionThreshold){&lt;br /&gt;         Write-Host "        Expression count:" $intMembershipRuleExpressionCount -ForeGroundColor red;&lt;br /&gt;        } else {&lt;br /&gt;         Write-Host "        Expression count:" $intMembershipRuleExpressionCount -ForeGroundColor green;&lt;br /&gt;        }&lt;br /&gt;       }&lt;br /&gt;       $intMembershipRuleExpressionCount = 0;&lt;br /&gt;      }&lt;br /&gt;     }&lt;br /&gt;     $config = $null;&lt;br /&gt;      $intMembershipRuleCount = 0;&lt;br /&gt;    }&lt;br /&gt;   }&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;}&lt;/pre&gt;(ps. Save it as a script to use interactive User Input.)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-788574815742612009?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/788574815742612009/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/07/scom-find-those-heavy-group-discoveries.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/788574815742612009'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/788574815742612009'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/07/scom-find-those-heavy-group-discoveries.html' title='SCOM: Find those heavy group discoveries'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-4807054627710044427</id><published>2010-06-29T16:36:00.008+02:00</published><updated>2010-06-29T16:52:16.821+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VBScript'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><title type='text'>SCOM: Agent Queue Size Script</title><content type='html'>A while ago I needed a script to adjust the SCOM Agent Queue size to make sure no auditing events were lost in case of a link failure between DC's and OpsMgr MS's.&lt;br /&gt;So I created this script to do this for me.&lt;br /&gt;&lt;br /&gt;If supports launching it from a Agent Task . The script gives a return code and quits before restarting the Health Service with a scheduled job, using 'at'.&lt;br /&gt;&lt;pre class="brush: vb"&gt;Option Explicit&lt;br /&gt;SetLocale("en-us")&lt;br /&gt;&lt;br /&gt;Dim blnForceRestart&lt;br /&gt;Dim lngValue&lt;br /&gt;Dim strComputer&lt;br /&gt;Dim strManagementGroup&lt;br /&gt;&lt;br /&gt;Const HKEY_LOCAL_MACHINE = &amp;H80000002&lt;br /&gt;blnForceRestart = False&lt;br /&gt;strComputer = "."&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Call Main&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sub Main()&lt;br /&gt;&lt;br /&gt; Call GetParams()&lt;br /&gt; WScript.Echo "Executing " &amp; WScript.ScriptName&lt;br /&gt; Call RegChange()&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sub RegChange()&lt;br /&gt; Dim objReg&lt;br /&gt; Dim lngCurrentValue&lt;br /&gt; Dim strKeyPath&lt;br /&gt; Dim strValueName&lt;br /&gt;  &lt;br /&gt; Set objReg = GetObject("winmgmts:\\" &amp; strComputer &amp;"\root\default:StdRegProv")&lt;br /&gt; strKeyPath = "SYSTEM\CurrentControlSet\Services\HealthService\Parameters\Management Groups\" &amp; strManagementGroup&lt;br /&gt; strValueName = "MaximumQueueSizeKb"&lt;br /&gt; &lt;br /&gt; objReg.GetDWORDValue HKEY_LOCAL_MACHINE, strKeyPath, strValueName, lngCurrentValue&lt;br /&gt; &lt;br /&gt; If IsNull(lngCurrentValue) Then&lt;br /&gt;  WScript.Echo "An error occured while reading registry key."&lt;br /&gt;  WScript.Quit 201&lt;br /&gt; End If&lt;br /&gt; &lt;br /&gt; If CLng(lngCurrentValue) &lt;&gt; lngValue Then&lt;br /&gt;  objReg.SetDWORDValue HKEY_LOCAL_MACHINE, strKeyPath, strValueName, lngValue&lt;br /&gt;  WScript.Echo strValueName &amp; ": " &amp; lngCurrentValue &amp; " changed to " &amp; lngValue&lt;br /&gt;  Call ScheduleRestartHealthService()&lt;br /&gt; Else&lt;br /&gt;  WScript.Echo "Current value '" &amp; lngCurrentValue &amp; "' matches parameter value: " &amp; lngValue&lt;br /&gt;  If blnForceRestart Then&lt;br /&gt;   WScript.Echo "Restart of HealthService forced."&lt;br /&gt;   Call ScheduleRestartHealthService()&lt;br /&gt;  End If&lt;br /&gt; End If&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sub ScheduleRestartHealthService()&lt;br /&gt; Dim dtmTime&lt;br /&gt; Dim dtmScheduleTime&lt;br /&gt; Dim objShell&lt;br /&gt; Dim intMinutesDelay&lt;br /&gt; Dim intReturn&lt;br /&gt; &lt;br /&gt; Set objShell = CreateObject("Wscript.Shell")&lt;br /&gt; dtmTime = Now()&lt;br /&gt; If Second(dtmTime) &lt; 50 Then&lt;br /&gt;  intMinutesDelay = 1&lt;br /&gt; Else&lt;br /&gt;   intMinutesDelay = 2&lt;br /&gt; End If&lt;br /&gt; dtmScheduleTime = FormatDateTime(DateAdd("n",intMinutesDelay,dtmTime),4)&lt;br /&gt; WScript.Echo "Scheduling a HealthService restart for " &amp; dtmScheduleTime&lt;br /&gt; intReturn = objShell.Run("at " &amp; dtmScheduleTime &amp; " cmd /c " &amp; Chr(34) &amp;_&lt;br /&gt;   "net stop healthservice &amp;&amp; net start healthservice",0,False)&lt;br /&gt; If intReturn &gt; 0 Then WScript.Quit Clng(intReturn + 500)&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Sub GetParams()&lt;br /&gt; If Wscript.Arguments.Named("mgmtgrp") &lt;&gt; "" Then&lt;br /&gt;  strManagementGroup = Wscript.Arguments.Named("mgmtgrp")&lt;br /&gt; Else&lt;br /&gt;  WScript.Echo "Missing 'mgmtgrp' argument"&lt;br /&gt;  WScript.Quit 101&lt;br /&gt; End If&lt;br /&gt; &lt;br /&gt; If WScript.Arguments.Named("sizekb") &lt;&gt; "" Then&lt;br /&gt;  lngValue = CLng(WScript.Arguments.Named("sizekb"))&lt;br /&gt; Else&lt;br /&gt;  lngValue = 15360 'Default value&lt;br /&gt;  WScript.Echo "Using default Queue Size, " &amp; lngValue &amp; " kB."&lt;br /&gt; End If&lt;br /&gt; &lt;br /&gt; If WScript.Arguments.Named.Exists("forcerestart") Then&lt;br /&gt;  blnForceRestart = True&lt;br /&gt; End If&lt;br /&gt;End Sub&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-4807054627710044427?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/4807054627710044427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/06/scom-agent-queue-size-script.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/4807054627710044427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/4807054627710044427'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/06/scom-agent-queue-size-script.html' title='SCOM: Agent Queue Size Script'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-7512043977098972480</id><published>2010-06-24T13:31:00.003+02:00</published><updated>2010-06-25T16:37:58.092+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Review'/><category scheme='http://www.blogger.com/atom/ns#' term='Books'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM R2'/><title type='text'>SCOM: System Center Operations Manager R2 Unleashed - Review - A GREAT Supplement</title><content type='html'>A few weeks ago I got my copy of the supplement to the book 'System Center Operations Manager 2007 Unleashed', called 'System Center Operations Manager 2007 &lt;strong&gt;R2&lt;/strong&gt; Unleashed'.&lt;br /&gt;&lt;br /&gt;I love the 'Unleashed' books for SCCM and SCOM and couldn't wait to get my hands on this one. As I blogged a while ago, this book contains a lot of updates compared to the first book. This blogpost is a my personal review about the contents and as far as I know my first public book review.&lt;br /&gt;&lt;br /&gt;This book is writen by the same authors as it's big brother. Along with many other SCOM specialists they managed to create a very useful and practical technical add-on. It's really &lt;em&gt;loaded&lt;/em&gt; with in-depth information.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Why I think you should get this book:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;A lot of best practices &amp;amp; examples&lt;/li&gt;&lt;li&gt;A convenient and clear summary of updates/changes on SCOM since its introduction&lt;/li&gt;&lt;li&gt;A great chapter about X-plat/Cross-platform monitoring, including a walkthrough and examples with 3rd party management packs!&lt;/li&gt;&lt;li&gt;All you need to know about Windows 2008 and System Center Operations Manager R2, it's there&lt;/li&gt;&lt;li&gt;Nice writing about upgrading SQL 2005 to SQL 2008&lt;/li&gt;&lt;li&gt;Everything you need/wanted to know about the OpsMgr PowerShell Extensions&lt;br /&gt;Including: practical documentation, examples and performance enhancements&lt;/li&gt;&lt;li&gt;A virtualization update about managing virtual infrastructures&lt;/li&gt;&lt;li&gt;Nice chapter about MP Authoring. I think this can help a lot of SCOM admins with creating management packs.&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;em&gt;Pros&lt;/em&gt;: &lt;/div&gt;&lt;ul&gt;&lt;li&gt;Many best-practices SCOM admins can find on the web are finally grabbed together in this "fat pocket guide"&lt;/li&gt;&lt;li&gt;Nice examples (SQL queries &amp;amp; Powershell)&lt;/li&gt;&lt;li&gt;Cross-platform in a nutshell&lt;/li&gt;&lt;li&gt;It's clearly visible the authors worked together with the known MVP's and other specialists. The MP cook down practices are a great example of this.&lt;/li&gt;&lt;li&gt;The book has answers to most of the questions that can arise with managing SCOM, like performance, scaling, backup &amp;amp; recovery.&lt;/li&gt;&lt;li&gt;Nice appendix with more up-to-date MP tuning tips (compilation of &lt;a href="http://ops-mgr.spaces.live.com/"&gt;ops-mgr.spaces.live.com&lt;/a&gt; which moved to &lt;a href="http://systemcentercentral.com/byexample"&gt;http://systemcentercentral.com/byexample&lt;/a&gt;)&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;em&gt;Small ;) Cons&lt;/em&gt;:&lt;br /&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;VMM promo. The virtualization chapter takes the reader along the features of VMM integration with OpsMgr. It's a nice promo &amp;amp; walkthrough, but it would be nice to also see more of Bridgeway's of Veeam's MP. I must say the authors did a great job showing some features of the VMM MP, of which you could benefit when you use VMware virtualization technology without vCenter. (I think this could be an item of the pros list ;) )&lt;/li&gt;&lt;li&gt;The pages could use some chapter - paragraph header info. Because of the information load, it's nice to know where you're at :D (like the original book)&lt;/li&gt;&lt;li&gt;I think adding extra in-depth information about creating and using Reports is the last item that's missing for a SCOM admin to be fully equiped. This book contains a paragraph about the R2 enhancements and using a linked report in the Authoring Console. It would be nice to add some best-practices/guides about getting more from the Reporting feature like they did in the chapter about the PowerShell Extensions chapter. More examples like in the previous book would be nice!&lt;/li&gt;&lt;li&gt;On page 13 it states the R2 version of the Windows Service Management Pack template &lt;strong&gt;enables wildcard&lt;/strong&gt; entry to select multiple, similarly named services. I'm still searching for this, but haven't been able to use wildcards with this template besides using the WmiProviderWithClassSnapshotDataMapper.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;Book 'Rollup': Very &lt;/span&gt;&lt;span style="font-size:130%;"&gt;Healthy &lt;a href="http://1.bp.blogspot.com/_C6N6L4R8RYY/TCHsqR2I3WI/AAAAAAAAAIo/bPc_CgPwKJQ/s1600/HealthyCheck.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5485926032203111778" style="WIDTH: 41px; CURSOR: hand; HEIGHT: 41px" alt="" src="http://1.bp.blogspot.com/_C6N6L4R8RYY/TCHsqR2I3WI/AAAAAAAAAIo/bPc_CgPwKJQ/s320/HealthyCheck.jpg" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Great book for every SCOM admin and author. I think this is a piece of equipment every SCOM admin should have in his/her toolbox.&lt;/li&gt; Along with the 'System Center Operations 2007 Unleashed' book of course.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-7512043977098972480?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/7512043977098972480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/06/scom-system-center-operations-manager.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/7512043977098972480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/7512043977098972480'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/06/scom-system-center-operations-manager.html' title='SCOM: System Center Operations Manager R2 Unleashed - Review - A GREAT Supplement'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_C6N6L4R8RYY/TCHsqR2I3WI/AAAAAAAAAIo/bPc_CgPwKJQ/s72-c/HealthyCheck.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-6396989929915356931</id><published>2010-06-02T12:14:00.013+02:00</published><updated>2010-12-08T09:24:22.945+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><category scheme='http://www.blogger.com/atom/ns#' term='Blog'/><title type='text'>Syntax Highlighting Feature</title><content type='html'>I'm running this blog for 1,5 years now, and I thought it was time to add a little &lt;i&gt;bling&lt;/i&gt; feature.&lt;br /&gt;&lt;pre class="brush: ps"&gt;&lt;br /&gt;$message = "So, for better readability,"&lt;/pre&gt;&lt;br /&gt;&lt;pre class="brush: vb"&gt;Dim strMessage="from now on all my code examples..."&lt;/pre&gt;&lt;br /&gt;&lt;pre class="brush: xml"&gt;&lt;message&gt;are presented with syntax highlighting"&lt;/message&gt;&lt;/pre&gt;&lt;ul&gt;Cool features&lt;br /&gt;&lt;li&gt;syntax highlighing for a lot of different code types: &lt;a href="http://alexgorbatchev.com/wiki/SyntaxHighlighter:Brushes"&gt;see here&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;code view&lt;/li&gt;&lt;br /&gt;&lt;li&gt;code copy&lt;/li&gt;&lt;br /&gt;&lt;li&gt;code printing&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;See &lt;a href="http://alexgorbatchev.com/wiki/SyntaxHighlighter"&gt;SyntaxHighlighter&lt;/a&gt; for more information.&lt;br /&gt;&lt;br /&gt;Powershell Example:&lt;br /&gt;&lt;pre class="brush: ps"&gt;# SCOM Shell Script&lt;br /&gt;#Returns all User Roles matching given DisplayName and show the User Role members&lt;br /&gt;Get-UserRole | Where {$_.DisplayName -match "Operator Team X"} | Sort-Object DisplayName | foreach { Write-Host "Role:" $_.DisplayName ; $_.Users | foreach { Write-Host "   $_"}}&lt;/pre&gt;&lt;br /&gt;To view all code items use &lt;strong&gt;&lt;a href="http://michielw.blogspot.com/search/label/Code"&gt;#Code&lt;/a&gt;&lt;/strong&gt; label.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-6396989929915356931?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/6396989929915356931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/06/syntax-highlighting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/6396989929915356931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/6396989929915356931'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/06/syntax-highlighting.html' title='Syntax Highlighting Feature'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-1274745012989839266</id><published>2010-05-31T17:51:00.019+02:00</published><updated>2010-06-03T11:58:11.435+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Groups'/><category scheme='http://www.blogger.com/atom/ns#' term='PowerShell'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='User Role'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><title type='text'>SCOM: Get-UserRole Group Scope (PowerShell)</title><content type='html'>Recently I wanted to document all the User Roles from a specific Management Group with their Group Scope and Views. Because their is no UI to see this quickly, besides scrolling through a list of disabled and enabled groups, I created this script.&lt;br /&gt;&lt;br /&gt;SCOM PowerShell script for listing a User Role with it's Group Scope. &lt;br /&gt;It returns all non-system* User Roles with a (sorted) list of groups from the Group Scope.&lt;br /&gt;Stay tuned because i'm working on the 'Views' part.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: ps"&gt;Get-UserRole | Sort-Object DisplayName | foreach {If($_.IsSystem -ne $true){Write-Host "--" $_.DisplayName "--";If($_.Scope.MonitoringClasses -ne $null){$_.Scope.MonitoringClasses | foreach {Get-MonitoringClass -Id $_} | Sort-Object DisplayName | foreach {Write-Host "  "$_.displayName}}else{$_.Scope.MonitoringObjects | foreach {Get-MonitoringObject -Id $_} | Sort-Object DisplayName | foreach {Write-Host "  "$_.displayName}}}}&lt;/pre&gt;For better readability:&lt;pre class="brush: ps"&gt;&lt;br /&gt;Get-UserRole | Sort-Object DisplayName | foreach { &lt;br /&gt;  If($_.IsSystem -ne $true)&lt;br /&gt;  {&lt;br /&gt;    Write-Host "--" $_.DisplayName "--"&lt;br /&gt;    If($_.Scope.MonitoringClasses -ne $null){&lt;br /&gt;      $_.Scope.MonitoringClasses | foreach {Get-MonitoringClass -Id $_} | Sort-Object DisplayName | foreach {Write-Host "  "$_.displayName}&lt;br /&gt;    } else {&lt;br /&gt;      $_.Scope.MonitoringObjects | foreach {Get-MonitoringObject -Id $_} | Sort-Object DisplayName | foreach {Write-Host "  "$_.displayName}&lt;br /&gt;    }&lt;br /&gt;  }&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;* = These roles are specified as System Roles:&lt;br /&gt;Operations Manager Administrators&lt;br /&gt;Operations Manager Advanced Operators&lt;br /&gt;Operations Manager Authors&lt;br /&gt;Operations Manager Operators&lt;br /&gt;Operations Manager Read-Only Operators&lt;br /&gt;Operations Manager Report Security Administrators&lt;br /&gt;&lt;br /&gt;For exporting and importing complete user roles, see &lt;a href="http://blogs.msdn.com/b/rslaten/archive/2008/11/03/exporting-and-importing-user-roles.aspx"&gt;http://blogs.msdn.com/b/rslaten/archive/2008/11/03/exporting-and-importing-user-roles.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-1274745012989839266?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/1274745012989839266/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/05/scom-get-userrole-group-scope.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/1274745012989839266'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/1274745012989839266'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/05/scom-get-userrole-group-scope.html' title='SCOM: Get-UserRole Group Scope (PowerShell)'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-2372454823645203857</id><published>2010-05-31T15:32:00.006+02:00</published><updated>2010-05-31T15:35:14.187+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Beta'/><category scheme='http://www.blogger.com/atom/ns#' term='SCCM vNext'/><category scheme='http://www.blogger.com/atom/ns#' term='SCCM'/><title type='text'>SCCM: Configuration Manager vNext Beta released!</title><content type='html'>Microsoft released the beta for ConfigMgr vNext last week!&lt;br /&gt;&lt;br /&gt;If you want to take a tour to see what's new in the next generation of Configuration Manager, join the &lt;a href="https://connect.microsoft.com/InvitationUse.aspx?ProgramID=4346&amp;amp;InvitationID= VNXO-DFPW-G6HD&amp;amp;SiteID=892"&gt;beta program&lt;/a&gt;: &lt;br /&gt;MVP Jannis Alink, visited MMS2010 and blogged about some &lt;a href="http://www.jannesalink.com/blog1.php/2009/04/28/mms-configmgr-state-of-the-union"&gt;new features&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;There are 3 main pilars:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;User centric application management&lt;/strong&gt; - Empowering Administrators to define intent, and end users flexible access to the right application at the right time&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Allow the administrator to think users first&lt;/li&gt;&lt;li&gt;Application management model to capture admin intent&lt;/li&gt;&lt;li&gt;End user self-service software portal&lt;/li&gt;&lt;/ul&gt;&lt;strong&gt;Infrastructure simplification&lt;/strong&gt; – Simplify management infrastructure, processes and administrative overhead&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Unified management across PCs and devices&lt;/li&gt;&lt;li&gt;New role based administration and end-user experiences&lt;/li&gt;&lt;li&gt;Automated content distribution and troubleshooting&lt;/li&gt;&lt;li&gt;Redesigned core infrastructure and improved scalability&lt;/li&gt;&lt;/ul&gt;&lt;strong&gt;Simplify Client Management&lt;/strong&gt; – Daily tasks, model based configuration management and improvements over existing capabilities&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Automated compliance remediation&lt;/li&gt;&lt;li&gt;Client health and auto remediation&lt;/li&gt;&lt;li&gt;Remote control enhancements&lt;/li&gt;&lt;li&gt;Offline servicing of OS images&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-2372454823645203857?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/2372454823645203857/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/05/sccm-configuration-manager-vnext-beta.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/2372454823645203857'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/2372454823645203857'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/05/sccm-configuration-manager-vnext-beta.html' title='SCCM: Configuration Manager vNext Beta released!'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-493942736853987722</id><published>2010-05-31T09:50:00.001+02:00</published><updated>2010-05-31T10:09:15.210+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='R3'/><category scheme='http://www.blogger.com/atom/ns#' term='Beta'/><category scheme='http://www.blogger.com/atom/ns#' term='SCCM'/><title type='text'>SCCM: Configuration Manager R3 Beta available (Microsoft Connect)</title><content type='html'>For those, who for some reason, mist out on last months SCCM news. Since a few weeks SCCM R3 Beta has been released.&lt;br /&gt;It's available through the&amp;nbsp;Open Beta&amp;nbsp;program. If you are a member of the Configuration Manager 2007 R3 Open Beta program you can download&amp;nbsp;it at: &lt;a href="https://connect.microsoft.com/site16"&gt;https://connect.microsoft.com/site16&lt;/a&gt;&amp;nbsp;| &lt;a href="https://connect.microsoft.com/site16/content/content.aspx?ContentID=16938"&gt;https://connect.microsoft.com/site16/content/content.aspx?ContentID=16938&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;(It's an evaluation version and&amp;nbsp;can&amp;nbsp;only&amp;nbsp;be used on previous eval versions or fresh installs,&amp;nbsp;not on live SCCM R2 systems)&lt;br /&gt;&lt;br /&gt;Want to see what's new in R3, use the &lt;a href="https://connect.microsoft.com/site16"&gt;link&lt;/a&gt;!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-493942736853987722?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/493942736853987722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/05/sccm-configuration-manager-r3-beta.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/493942736853987722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/493942736853987722'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/05/sccm-configuration-manager-r3-beta.html' title='SCCM: Configuration Manager R3 Beta available (Microsoft Connect)'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-5849602167143674201</id><published>2010-05-31T09:40:00.001+02:00</published><updated>2010-05-31T16:25:08.958+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Toolkit'/><category scheme='http://www.blogger.com/atom/ns#' term='SCCM'/><title type='text'>SCCM: Issue with Preloadpkgonsite.exe (SCCM Toolkit v2)</title><content type='html'>In my last blog post&amp;nbsp;I described a list of new functionality coming with the new SCCM Toolkit v2.&lt;br /&gt;John Marcum wrote a blog about using&amp;nbsp;the tool&amp;nbsp;'Preloadpkgonsite.exe', updated in Toolkit v2.&lt;br /&gt;&lt;br /&gt;Using this tool can cause some distribution problems between the source and&amp;nbsp;stored package. If you didn't specify '/UpdateStoredPkgVersion' on the cmdline, then it's possible the stored package version and&amp;nbsp;the source package version are not the same.&lt;br /&gt;&lt;br /&gt;Read more on: &lt;a href="http://myitforum.com/cs2/blogs/jmarcum/archive/2010/05/19/146968.aspx"&gt;http://myitforum.com/cs2/blogs/jmarcum/archive/2010/05/19/146968.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-5849602167143674201?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://myitforum.com/cs2/blogs/jmarcum/archive/2010/05/19/146968.aspx' title='SCCM: Issue with Preloadpkgonsite.exe (SCCM Toolkit v2)'/><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/5849602167143674201/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/05/sccm-issue-with-preloadpkgonsiteexe.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/5849602167143674201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/5849602167143674201'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/05/sccm-issue-with-preloadpkgonsiteexe.html' title='SCCM: Issue with Preloadpkgonsite.exe (SCCM Toolkit v2)'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-4456287601226099761</id><published>2010-05-04T14:35:00.001+02:00</published><updated>2010-05-04T14:36:55.801+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Toolkit'/><category scheme='http://www.blogger.com/atom/ns#' term='SCCM'/><title type='text'>SCCM: New ConfigMgr 2007 Toolkit (v2) available</title><content type='html'>Last week Microsoft released a new version of the SCCM toolkit. It's been a while since the last release in 2007, but there are some nice&amp;nbsp;tools added to the toolkit. They aren't completely new as they were available earlier with the SMS 2003 Toolkit and updated for this toolkit.&lt;br /&gt;The release also includes an updated Security Configuration Wizard Template for ConfigMgr 2007 SP2 and Windows Server 2008 R2.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Pack Contents:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Client Spy&lt;/strong&gt; - A tool that helps you troubleshoot issues related to software distribution, inventory, and software metering on Configuration Manager 2007 clients.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Delete Group Class Tool&lt;/strong&gt; - A tool used to remove inventory group definitions along with history data, tables, views and stored procedures for the group. &lt;br /&gt;&lt;br /&gt;&lt;u&gt;New in 2007&lt;/u&gt;: In addition to removing the entries in the GroupMap and AtttributeMap tables, Delete Group Class Tool also removes the inventory stored procedures, schema views and tables.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Desired Configuration Management Migration Tool&lt;/strong&gt; - A tool used to migrate from the DCM Solution for SMS 2003 to DCM in ConfigMgr 2007. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Desired Configuration Management Model Verification Tool&lt;/strong&gt; - A tool used by desired configuration management content administrators for the validation and testing of configuration items and baselines authored externally from the Configuration Manager console. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Desired Configuration Management Substitution Variable Tool &lt;/strong&gt;- A tool used by desired configuration management content administrators for authoring desired configuration management configuration items that use chained setting and object discovery. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Management Point Troubleshooter Tool&lt;/strong&gt; - A tool that checks a computer system before and after a management point installation to ensure that the installation meets the requirements for management points. &lt;br /&gt;&lt;br /&gt;&lt;u&gt;New in 2007&lt;/u&gt;: MP Troublshooter Tool can detect WebDAV rules and will provide simple automatic fix, which will help admin to correct issues like WebDAV authoring rules. Also supports Native Mode.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Policy Spy&lt;/strong&gt; - A policy viewer that helps you review and troubleshoot the policy system on Configuration Manager 2007 clients. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Preload Package Tool&lt;/strong&gt; - A tool used to manually install compressed copies of package source files on Configuration Manager 2007 sites.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;New in 2007&lt;/u&gt;: Preload Package Tool now supports compressing packages before transferring them across the network. Supported Packages: Software Distribution Package, Virtual Application Package, Boot Image, Operating System Image, Operating System Install Package and Driver Package.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Security Configuration Wizard Template for Configuration Manager 2007&lt;/strong&gt; - The Security Configuration Wizard (SCW) is an attack-surface reduction tool for the Microsoft Windows Server 2008 R2 operating system. Security Configuration Wizard determines the minimum functionality required for a server's role or roles, and disables functionality that is not required. The Configuration Manager 2007 Service Pack 2 Security Configuration Wizard template supports new site system definitions and enables the required services and ports. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Send Schedule Tool &lt;/strong&gt;- A tool used to trigger a schedule on a Client or trigger the evaluation of a specified DCM Baseline. You can trigger a schedule either locally or remotely. &lt;br /&gt;&lt;br /&gt;&lt;u&gt;New in 2007&lt;/u&gt;: Send Schedule Tool can now trigger DCM Baseline evaluation.&lt;br /&gt;&lt;em&gt;The former VBS file has become a executable.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Trace32 &lt;/strong&gt;- A log viewer that provides a way to easily view and monitor log files created and updated by Configuration Manager 2007 clients and servers.&lt;br /&gt;&lt;em&gt;I haven't noticed a difference yet between the previous version and this 'new' version, besides&amp;nbsp;an&amp;nbsp;increased&amp;nbsp;version number ;)&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;More info: &lt;a href="http://scug.be/blogs/sccm/archive/2010/04/30/configmgr-2007-toolkit-version-2-is-now-available.aspx"&gt;http://scug.be/blogs/sccm/archive/2010/04/30/configmgr-2007-toolkit-version-2-is-now-available.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Download: &lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=5a47b972-95d2-46b1-ab14-5d0cbce54eb8"&gt;http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=5a47b972-95d2-46b1-ab14-5d0cbce54eb8&lt;/a&gt;&lt;br /&gt;(Link on SCCM Technet site is dead :) &lt;a href="http://technet.microsoft.com/en-us/systemcenter/cm/bb892848.aspx"&gt;http://technet.microsoft.com/en-us/systemcenter/cm/bb892848.aspx&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-4456287601226099761?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/4456287601226099761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/05/sccm-new-configmgr-2007-toolkit-v2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/4456287601226099761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/4456287601226099761'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/05/sccm-new-configmgr-2007-toolkit-v2.html' title='SCCM: New ConfigMgr 2007 Toolkit (v2) available'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-7941235333142665053</id><published>2010-04-15T10:40:00.008+02:00</published><updated>2010-06-02T12:44:08.338+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DONTS'/><category scheme='http://www.blogger.com/atom/ns#' term='MP'/><category scheme='http://www.blogger.com/atom/ns#' term='nWorks VMware'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><category scheme='http://www.blogger.com/atom/ns#' term='Tuning'/><title type='text'>nWorks VMware Management Pack DONT'S</title><content type='html'>Last week i was focussing on optimizing the nWorks VMware Management Pack. (version 5.0.3.248)&lt;br /&gt;&lt;br /&gt;Running the query below, showed that this MP is really a data dumper: &lt;br /&gt;&lt;pre class="brush: sql"&gt;SELECT TOP 50 AlertStringName, AlertStringDescription, AlertParams, Name, SUM(1) AS&lt;br /&gt;AlertCount, SUM(RepeatCount+1) AS AlertCountWithRepeatCount&lt;br /&gt;FROM Alertview WITH (NOLOCK)&lt;br /&gt;GROUP BY AlertStringName, AlertParams, Name&lt;br /&gt;ORDER BY AlertCount DESC&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;You could also use the new report, Data Volume by Management Pack, available through the new SCOM R2 management pack,System Center Core Monitoring, version 6.1.7599.0. (&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=61365290-3c38-4004-b717-e90bb0f6c148&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=61365290-3c38-4004-b717-e90bb0f6c148&amp;amp;displaylang=en&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;I disabled any VM monitoring activities from nWorks, because the VM's were already monitored through a SCOM Agent. This can be configured through the nWorks Management Console. It's just a mather of deselect the checkboxes for VM's. As this screenshot shows:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="CLEAR: both; TEXT-ALIGN: center"&gt;&lt;a style="MARGIN-LEFT: 1em; MARGIN-RIGHT: 1em" href="http://4.bp.blogspot.com/_C6N6L4R8RYY/S9mo5dr_dDI/AAAAAAAAAIU/JMRPQbsnbho/s1600/nWorksManagementCenter_GlobalDataFilters.jpg" imageanchor="1"&gt;&lt;img height="312" src="http://4.bp.blogspot.com/_C6N6L4R8RYY/S9mo5dr_dDI/AAAAAAAAAIU/JMRPQbsnbho/s400/nWorksManagementCenter_GlobalDataFilters.jpg" width="400" border="0" tt="true" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="CLEAR: both; TEXT-ALIGN: center"&gt;&lt;br /&gt; &lt;/div&gt;But still, the nWorks MP was spitting out a lot of alerts coming from Virtual Machines', like CPU and MEM thresholds.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Disabling discoveries for VM's, or not?&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Seeing this, i thought disabling the discovery for any VM based object would do the trick.&lt;br /&gt;So i disabled the discovery 'SV100 first stage discovery' for the class 'nWorks Collector' and the class 'VM'.&lt;br /&gt;Hhm yeah right.&lt;br /&gt;&lt;br /&gt;After doing this i lost ALL nWorks discovered objects. It apeared this discovery is linked to all discovered objects and not just the VM/Virtual Machine object. :(&lt;br /&gt;So this is really a &lt;strong&gt;NO NO&lt;/strong&gt;. The 'SV100 first stage discovery' discoveres all objects and relationships.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Deleting and Re-importing the nWorks VMware MP&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;I decided a reimport would be best.&lt;br /&gt;I made a backup of the customizations Management Pack linked to the nWorks VMware MP and deleted it.&lt;br /&gt;Then i deleted the nWorks VMware MP itself.&lt;br /&gt;&lt;br /&gt;And then. Nothing.... Nothing?? Well, deleting this specific Management Pack deletes all MP related objects from the database. This resulted in locking the OperationsManagerDB for 40 minutes.&lt;br /&gt;So beware of this.&lt;br /&gt;&lt;br /&gt;After this i gave the OperationsManagerDB the necessary days to groom itself and then reimported the nWorks VMware MP and the customizations Management Pack.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Why the MP still monitors the VM's, even this is disabled through the nWorks Management Console, that's the question&lt;/strong&gt;. I will follow up on this one.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Thought this info could be handy for some situations.&lt;/em&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-7941235333142665053?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/7941235333142665053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/04/nworks-vmware-management-pack-donts.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/7941235333142665053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/7941235333142665053'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/04/nworks-vmware-management-pack-donts.html' title='nWorks VMware Management Pack DONT&apos;S'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_C6N6L4R8RYY/S9mo5dr_dDI/AAAAAAAAAIU/JMRPQbsnbho/s72-c/nWorksManagementCenter_GlobalDataFilters.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-5862040476434350608</id><published>2010-03-21T02:18:00.002+01:00</published><updated>2010-03-21T02:25:45.668+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Restore'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><title type='text'>SCOM: SecureStorageBackup.exe password failed from command line</title><content type='html'>A short (simple/funny) blog about using&amp;nbsp;SecureStorageBackup.exe from the command line.&lt;br /&gt;&lt;br /&gt;Tonight i was doing a (lab) restore for a SCOM 2007 R2 environment. After the initial install for that management group i made a backup of the encryption key with SecureStorageBackup.exe. Then, as a well raised IT-guy, i used a strong password with some great non-standard characters.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;The restore process...&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;After restoring my OperationsManager database, i had to restore the encryption key using SecureStorageBackup.exe.&lt;br /&gt;&lt;br /&gt;There a 2 modes for using SecureStorageBackup.exe.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;GUI, just&amp;nbsp;start&amp;nbsp;the executable from Windows Explorer. A wizard will take you through the steps required.&lt;/li&gt;&lt;li&gt;Command Line, open command prompt and run the executable from there. Use the syntax:&lt;/li&gt;&lt;ul&gt;&lt;li&gt;SecureStorageBackup.exe Backup|Restore &lt;filepath encr="" key.bin="" to=""&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ol&gt;I'm a fan of using the command line, so i did just that. But my password wasn't working. First i thought i had the wrong password. But then i remembered that using the command prompt some special characters do NOT work&amp;nbsp;for passwords, like the dollar ($) sign.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_C6N6L4R8RYY/S6V1aNF2AJI/AAAAAAAAAIM/yqDRjWvmZaI/s1600-h/scom_restore_encrkey_failed.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="146" src="http://2.bp.blogspot.com/_C6N6L4R8RYY/S6V1aNF2AJI/AAAAAAAAAIM/yqDRjWvmZaI/s400/scom_restore_encrkey_failed.JPG" vt="true" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;So don't give up right away when you're trying to restore your encryption key and it fails. It might be something rather stupid as using special unsupported character in your encryption key password. Just use the GUI mode. click click....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-5862040476434350608?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/5862040476434350608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/03/scom-securestoragebackupexe-password.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/5862040476434350608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/5862040476434350608'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/03/scom-securestoragebackupexe-password.html' title='SCOM: SecureStorageBackup.exe password failed from command line'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_C6N6L4R8RYY/S6V1aNF2AJI/AAAAAAAAAIM/yqDRjWvmZaI/s72-c/scom_restore_encrkey_failed.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-6843101916542708105</id><published>2010-02-27T23:05:00.000+01:00</published><updated>2010-02-27T23:05:50.208+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Core'/><category scheme='http://www.blogger.com/atom/ns#' term='Update'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM R2'/><title type='text'>New Core MP for SCOM R2</title><content type='html'>Just came across two very interesting and&amp;nbsp;detailed blogs by Marnix Wolf about the core MP update for SCOM R2.&lt;br /&gt;Marnix really did a great job showing all what's new!&lt;br /&gt;&lt;br /&gt;Part 1 - Core Monitoring Reports&lt;br /&gt;&lt;a href="http://thoughtsonopsmgr.blogspot.com/2010/02/newest-core-mp-for-scom-r2-new-road.html"&gt;http://thoughtsonopsmgr.blogspot.com/2010/02/newest-core-mp-for-scom-r2-new-road.html&lt;/a&gt;&lt;br /&gt;Part 2 - Agent Management (nice!)&lt;br /&gt;&lt;a href="http://thoughtsonopsmgr.blogspot.com/2010/02/newest-core-mp-for-scom-r2-new-road_26.html"&gt;http://thoughtsonopsmgr.blogspot.com/2010/02/newest-core-mp-for-scom-r2-new-road_26.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-6843101916542708105?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://thoughtsonopsmgr.blogspot.com/2010/02/newest-core-mp-for-scom-r2-new-road.html' title='New Core MP for SCOM R2'/><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/6843101916542708105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/02/new-core-mp-for-scom-r2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/6843101916542708105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/6843101916542708105'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/02/new-core-mp-for-scom-r2.html' title='New Core MP for SCOM R2'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-6241655143811094459</id><published>2010-02-27T22:52:00.001+01:00</published><updated>2010-02-27T22:54:04.776+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Maintenance'/><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='OperationsManagerDW'/><title type='text'>Configuring OperationsManagerDW grooming</title><content type='html'>Last week i did some maintenance on a Operations Manager 2007 R2 Data Warehouse. Because this piece of OpsMgr maintenance is sometimes 'forgotten', i thought it would be nice to blog about this.&lt;br /&gt;&lt;br /&gt;After this initial deployment, there has not been much maintenance. Thanks to the integrated maintenance jobs through the Operations Manager 2007 internal management pack library and having enough disk space, no actual problems did arise.&lt;br /&gt;&lt;br /&gt;You should, probably, know that an out-of-the-box deployment of OpsMgr 2007 keeps the collected information in your Operations Manager Datawarehouse for 400 days.&lt;br /&gt;&lt;br /&gt;Using the sizing tools from Microsoft and from books like&amp;nbsp;'Unleashed' you can calculate how much disk space you would need keeping 400 days of historical information.&lt;br /&gt;Also keep in mind the backup method you will need to use, because of the rather large database files. Always consult the Database Administrator for your implementation and maintenance&amp;nbsp;plans.&lt;br /&gt;&lt;br /&gt;When a company starts of with OpsMgr 2007 with a number of 500 agents and no known future company aquisitions no problems arise. But when that company begins to expand and more agents are becoming managed by this management group, you should really do some recalculation of the your database growth for your OperationsManagerDW as well as for your OperationsManager DB. There are some pretty handy built-in reports in Operations Manager you can use to see the daily growth. Also use the Operations Console Monitoring views to view the Database Size performance counters.&lt;br /&gt;&lt;br /&gt;If you find that the current span of historical data is not right and has to be modified there a multiple ways for doing this.&lt;br /&gt;&lt;br /&gt;The old way: Using a sql queries and stored procedure &lt;a href="http://aquilaweb.com/blog/index.php?itemid=41"&gt;http://aquilaweb.com/blog/index.php?itemid=41&lt;/a&gt;&lt;br /&gt;The new and easier way: Using a simple tool, dwdatarp.exe&amp;nbsp;&lt;a href="http://blogs.technet.com/momteam/archive/2008/05/14/data-warehouse-data-retention-policy-dwdatarp-exe.aspx"&gt;http://blogs.technet.com/momteam/archive/2008/05/14/data-warehouse-data-retention-policy-dwdatarp-exe.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I prefer the new and easier way for obvious reasons :). I you don't want to wait for the next groom workflow, run the procedure 'p_partitioningandgrooming' on the SQL database.&lt;br /&gt;&lt;br /&gt;Within the next two weeks i'll be performing a OperationsManagerDW relocation. Of course&amp;nbsp;I'll post the details and my experiences with this actions. Note that a complete &lt;em&gt;'OpsMgr&amp;nbsp;shutdown' &lt;/em&gt;is neccesary to do this, so your agents should be configured with enough cache memory to hold on.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-6241655143811094459?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/6241655143811094459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/02/configuring-operationsmanagerdw.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/6241655143811094459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/6241655143811094459'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/02/configuring-operationsmanagerdw.html' title='Configuring OperationsManagerDW grooming'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-310855434598483502</id><published>2010-01-27T21:40:00.000+01:00</published><updated>2010-01-27T21:40:21.791+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Books'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM R2'/><title type='text'>SCOM: System Center Operations Manager R2 Unleashed - status update</title><content type='html'>The authors of SCOM 2007 Unleashed have posted an update for the release of the book System Center Operations Manager R2 Unleashed.&lt;br /&gt;&lt;br /&gt;The 'Unleashed' books have always been a favorite of mine. Let's hope that this upcoming release is as good as its predecessors.&lt;br /&gt;&lt;br /&gt;A copy from their &lt;i&gt;&lt;a href="http://ops-mgr.spaces.live.com/blog/cns%213D3B8489FCAA9B51%212226.entry"&gt;Space&lt;/a&gt;&lt;/i&gt;:&lt;br /&gt;&lt;br /&gt;System Center Operations Manager 2007 R2 Unleashed - a supplement to the earlier System Center Operations Manager 2007 Unleashed - is announced for availability mid-March 2010. As a supplement, the R2 ebook includes 9 chapters of new material covering OpsMgr 2007 R2 and additional topics not in the first book. Here's the chapter lineup:&lt;br /&gt;&lt;br /&gt;1. Introduction and What's New&lt;br /&gt;2. Unix/Linux Management: Cross Platform Extensions&lt;br /&gt;3. Operations Manager 2007 R2 and Windows Server 2008&lt;br /&gt;4. Using SQL Server 2008 in OpsMgr 2007 R2&lt;br /&gt;5. PowerShell Extensions for Operations Manager 2007&lt;br /&gt;6. Management Solutions for Small and Midsize Business&lt;br /&gt;7. Operations Manager and Virtualization&lt;br /&gt;8. Management Pack Authoring&lt;br /&gt;9. Unleashing Operations Manager 2007&lt;br /&gt;&lt;br /&gt;Appendix A. OpsMgr R2 by Example&lt;br /&gt;&lt;br /&gt;Appendix B. Reference URLs&lt;br /&gt;&lt;br /&gt;Appendix C. Available Online&lt;br /&gt;&lt;br /&gt;Chapter 9 includes a "deep dive" into managing distributed environments, high availability, business continuity, the new Visio add-in, going beyond the basics of ACS, network monitoring using distributed applications, and targeting.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-310855434598483502?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/310855434598483502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/01/scom-system-center-operations-manager.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/310855434598483502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/310855434598483502'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/01/scom-system-center-operations-manager.html' title='SCOM: System Center Operations Manager R2 Unleashed - status update'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-480607054471855026</id><published>2010-01-27T21:21:00.001+01:00</published><updated>2010-01-27T21:22:02.607+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Update'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM R2'/><title type='text'>SCOM: Cumulative Update 1 for System Center Operations Manager 2007 R2</title><content type='html'>&amp;nbsp;Microsoft released Cumulative Update 1 for System Center Operations Manager 2007 R2. Many things have been fixed with this update.&lt;br /&gt;&lt;br /&gt;Here the list as posted on the Microsoft website:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The &lt;b class="uiterm"&gt;Product Knowledge&lt;/b&gt; tab is displayed as the &lt;b class="uiterm"&gt;Company Knowledge&lt;/b&gt; tab after you import a language pack for System Center Operations Manager 2007 R2.&lt;/li&gt;&lt;li&gt; An agent cannot be removed successfully from a Windows Cluster service node.&lt;/li&gt;&lt;li&gt;The Heathservice.exe process on a Windows Cluster service passive node may have excessive CPU utilization.&lt;/li&gt;&lt;li&gt; The Healthservice.exe process may crash when it uses the OLE DB module.&lt;/li&gt;&lt;li&gt;The workflows that use the OLE DB data source may unload themselves if the underlying provider returns a null string or an empty string.&lt;/li&gt;&lt;li&gt; An instance of the MonitoringHost.exe process may cause a memory leak in nonpaged pool memory.&lt;/li&gt;&lt;li&gt;The notification subscriptions do not work if they are configured to parse a &lt;b&gt;CustomField&lt;/b&gt; field or an &lt;b&gt;AlertOwner&lt;/b&gt; field.&lt;/li&gt;&lt;li&gt; The Operations console loses the status as the current object that is in focus when a search filter is applied.&lt;/li&gt;&lt;li&gt; The SRSUpdateTool.exe process returns an error that states “Failed while updating registry entry for reporting code MSI component” when you try to upgrade SQL Reporting Services 2005 to SQL Reporting Services 2008.&lt;/li&gt;&lt;li&gt; The Operations Manager UI may crash when the &lt;b class="uiterm"&gt;Connector&lt;/b&gt; column and the &lt;b class="uiterm"&gt;Forwarding Status&lt;/b&gt; column are added to an Alert view.&lt;/li&gt;&lt;li&gt;The agents may re-process old Windows event log entries and then incorrectly generate alerts for these events that are not new.&lt;/li&gt;&lt;li&gt; Health state reliability fixes and improvements.&lt;/li&gt;&lt;li&gt; The Operations Manager Audit Collection Service (ADTServer.exe) does not start on an ACS Collector if the operating system is upgraded to Windows Server 2008 R2.&lt;/li&gt;&lt;li&gt; In a performance report that is exported, the list of object instances is not displayed.&lt;/li&gt;&lt;/ul&gt;Official Microsoft KB: &lt;a href="http://support.microsoft.com/kb/974144"&gt;http://support.microsoft.com/kb/974144&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Kevin Holman (Microsoft) has done extensive research. See his blog for an upgrade plan &amp;amp; and what other users are experiencing: &lt;a href="http://blogs.technet.com/kevinholman/archive/2010/01/17/opsmgr-2007-r2-cu1-rollup-hotfix-ships-and-my-experience-installing-it.aspx"&gt;http://blogs.technet.com/kevinholman/archive/2010/01/17/opsmgr-2007-r2-cu1-rollup-hotfix-ships-and-my-experience-installing-it.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-480607054471855026?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/480607054471855026/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/01/scom-cumulative-update-1-for-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/480607054471855026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/480607054471855026'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/01/scom-cumulative-update-1-for-system.html' title='SCOM: Cumulative Update 1 for System Center Operations Manager 2007 R2'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-1237036790621072023</id><published>2010-01-27T20:35:00.013+01:00</published><updated>2010-06-02T12:42:31.635+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Authoring'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM R2'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><title type='text'>SCOM: Registry discovery on 64 bit OS</title><content type='html'>When you're running 32 bit applications on 64 bit servers with a 64 bit SCOM Agent, you really should read this post. Same goes for people who wonder why their discovery does work on 32 bit servers and not on 64 bit servers.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;32 bit Application on 64 bit OS&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;When a 32 bit application is installed on a 32 bit Windows OS, the registry keys are usually writen to :&lt;br /&gt;HKEY_LOCAL_MACHINE\Software\YourVendor\ApplicationName.&lt;br /&gt;&lt;br /&gt;This changes when the OS is a 64 bit version.&lt;br /&gt;Then a 32 bit installation sets its registry keys in:&lt;br /&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\YourVendor\AppicationName&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Attribute Discovery&lt;/b&gt;&lt;br /&gt;This is tricky when you don't know if one or both of these scenarios exists in your environment. There is more than one solution for your attribute discovery. (SCOM 2007 &lt;b&gt;R2&lt;/b&gt; is required for solution #2).&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Copy the right child keys from the key HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ to HKEY_LOCAL_MACHINE\Software\&lt;/li&gt;&lt;li&gt;Add an extra XML element to the Registry Discovery in your MP to make a '32 bit discovery' work on a 64 bit Agent.&lt;/li&gt;&lt;li&gt; Use a VBScript for the discovery in which you have multiple ways of checking for CPU Archicture en reading registry keys&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;I will show you how to use solution 2. If you also would like to see how to work with solution 3.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Enable the Discovery using the 32 bit part of 64 bit registry&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Open your Management Pack with a text editor, e.g. notepad.exe&lt;/li&gt;&lt;li&gt;Go to Discoveries section&lt;/li&gt;&lt;li&gt;Search for the Discovery in which you want to enable 32 bit discovery&lt;/li&gt;&lt;li&gt;&lt;u&gt;Within&lt;/u&gt; the section &lt;registryattributedefinition&gt;, add the following XML element&lt;/registryattributedefinition&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&amp;lt;registryview&amp;gt;32bit&amp;lt;/registryview&amp;gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Save your Management Pack&lt;/li&gt;&lt;li&gt;Done!&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;In XML it will probably will look like this:&lt;br /&gt;&lt;pre class="brush: xml"&gt;&amp;lt;RegistryAttributeDefinition&amp;gt;&lt;br /&gt;  &amp;lt;AttributeName&amp;gt;AppExists&amp;lt;/AttributeName&amp;gt;&lt;br /&gt;  &amp;lt;Path&amp;gt;SOFTWARE\YourVendor\ApplicationName\Value&amp;lt;/Path&amp;gt;&lt;br /&gt;  &amp;lt;PathType&amp;gt;1&amp;lt;/PathType&amp;gt;&lt;br /&gt;  &amp;lt;AttributeType&amp;gt;1&amp;lt;/AttributeType&amp;gt;&lt;br /&gt;  &amp;lt;RegistryView&amp;gt;32bit&amp;lt;/RegistryView&amp;gt;&lt;br /&gt;&amp;lt;/RegistryAttributeDefinition&amp;gt;&lt;/pre&gt;&lt;br /&gt;As other users have already noticed: If you make a &lt;u&gt;change&lt;/u&gt; to the attribute from the &lt;u&gt;Operations Console&lt;/u&gt; or &lt;u&gt;Authoring console&lt;/u&gt;, the RegistryView element is deleted. So watch out for that!&lt;br /&gt;&lt;br /&gt;See also: &lt;a href="http://social.technet.microsoft.com/Forums/en/operationsmanagermgmtpacks/thread/bf566244-1164-4bf7-b08c-558bc7bc2363"&gt;http://social.technet.microsoft.com/Forums/en/operationsmanagermgmtpacks/thread/bf566244-1164-4bf7-b08c-558bc7bc2363&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-1237036790621072023?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/1237036790621072023/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/01/scom-registry-discovery-on-64-bit-os.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/1237036790621072023'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/1237036790621072023'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/01/scom-registry-discovery-on-64-bit-os.html' title='SCOM: Registry discovery on 64 bit OS'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-240605582459326280</id><published>2010-01-20T21:49:00.001+01:00</published><updated>2010-01-21T08:05:57.882+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Groups'/><category scheme='http://www.blogger.com/atom/ns#' term='Authoring'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><title type='text'>SCOM: Creating and Using Dynamic Groups</title><content type='html'>Today i stubled upon a, somewhat older, but rather interesting blog post of Raphael Burri. He wrote an extensive article about creating dynamic groups in Operations Manager and what the impact is on the Root Management Server (RMS).&lt;br /&gt;&lt;br /&gt;Raphael created some pdf's with examples of how you can create more advanced membership rules for dynamic groups.&lt;br /&gt;&lt;br /&gt;When you use the Operations Manager Console for creating groups you may find that you're pretty limited in using more complex constuctions, like using contains/not contains expression in the membership element clauses.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Instance and Computer Groups&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;When you look closer to the XML code that is created when exporting a MP with a 'OC'-created Group in it, you will notice that those groups are always instanced from the InstanceGroup class.&lt;br /&gt;&lt;br /&gt;Taking a peek at all your groups in the OC, shows Computer Groups besides the Instance Groups. What's the difference? The icon :P and the relationship type. A Computer Groups only contains computer whereas an Instance Group can contain all types of objects.&lt;br /&gt;Micrsoft uses both Group type in various management packs, like the IIS and Exchange 2007 MP.&lt;br /&gt;&lt;br /&gt;Asking around gives me the impression almost everybody is just using Instance Groups. But DO know that other group types (classes) are available.&lt;br /&gt;&lt;br /&gt;Link to Raphael Burri's post: &lt;a href="http://rburri.wordpress.com/2009/01/14/dynamic-group-membership-authoring-and-performance-impact-on-rms/"&gt;http://rburri.wordpress.com/2009/01/14/dynamic-group-membership-authoring-and-performance-impact-on-rms/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-240605582459326280?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/240605582459326280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2010/01/scom-creating-and-using-dynamic-groups.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/240605582459326280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/240605582459326280'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2010/01/scom-creating-and-using-dynamic-groups.html' title='SCOM: Creating and Using Dynamic Groups'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-4321402263801977447</id><published>2009-12-18T23:58:00.005+01:00</published><updated>2009-12-22T00:43:57.516+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Management packs'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><title type='text'>SCOM: Importing a Management Pack fails, Event ID 26319</title><content type='html'>In this post I'll explain a case in which an import of a Management Pack fails.&lt;br /&gt;A failure can be caused my numerous things, like dependencies, but in this case the cause is in the MP itself.&lt;br /&gt;&lt;br /&gt;Let say, you create a MP with some monitors, and groups in it. (in a Test Management Group or using the Authoring Console). This is MP version 1.0.0.0.&lt;br /&gt;We call it MyAppMP. After finishing your MP, you import it in your SCOM Management Group.&lt;br /&gt;&lt;br /&gt;Now you modify the MP file (Test MgmtGrp or Auth.Cons) and delete the groups because you don't need them anymore for some reason.&lt;br /&gt;MP version is now 1.0.0.1.&lt;br /&gt;&lt;br /&gt;You would think importing this updated MP wouldn't give any problems. Wrong! Importing this MP shows an error in the OpsMgr Console:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;The requested management pack was invalid. See inner exception for details. Parameter name: managementPack&lt;/pre&gt;&lt;br /&gt;Because of this useless error message in the Console, I searched the Operations Manager Event Log on the RMS. There I found Event ID 26319. This Event ID is used more than once for logging numerous SDK to DB operations. (RMS to SQL db)&lt;br /&gt;&lt;br /&gt;The event showed the following&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;Event Type: &amp;nbsp; &amp;nbsp; Error&lt;br /&gt;Event Source: &amp;nbsp; OpsMgr SDK Service&lt;br /&gt;Event Category: None&lt;br /&gt;Event ID: &amp;nbsp; &amp;nbsp; &amp;nbsp; 26319&lt;br /&gt;Date: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;date&gt;&lt;/date&gt;&lt;br /&gt;Time: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;time&gt;&lt;/time&gt;&lt;br /&gt;User: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; N/A&lt;br /&gt;Computer: &amp;nbsp; &amp;nbsp; &amp;nbsp; RMS Server&lt;br /&gt;Description:&lt;br /&gt;An exception was thrown while processing ImportManagementPack for session id uuid:46c14e53-8440-41c6-8979-77f0cce2b5b3;id=264.&lt;br /&gt;Exception Message: The creator of this fault did not specify a Reason.&lt;br /&gt;Full Exception: System.ServiceModel.FaultException`1[Microsoft.EnterpriseManagement.Common.ManagementPackException]: The creator of this fault did not specify a Reason. (Fault Detail is equal to : ManagementPack Version [1.0.0.1] is not upgrade compatible with older version [1.0.0.0]. Compatibility check failed with 6 errors:&lt;br /&gt;-------------------------------------------------------&lt;br /&gt;Error 1:&lt;br /&gt;: ClassType: [UINameSpace328086d3480e4cf4a8859a3454410533.Group] is not upgrade compatible.&lt;br /&gt;[ClassType]: [UINameSpace328086d3480e4cf4a8859a3454410533.Group] exists in current version [1.0.0.0] of ManagementPack but does not exist in the new version [1.0.0.1].&lt;br /&gt;-------------------------------------------------------&lt;br /&gt;Error 2:&lt;br /&gt;: ClassType: [UINameSpace51b544ce66984f46bf9cd3733b4e07ef.Group] is not upgrade compatible.&lt;br /&gt;[ClassType]: [UINameSpace51b544ce66984f46bf9cd3733b4e07ef.Group] exists in current version [1.0.0.0] of ManagementPack but does not exist in the new version [1.0.0.1].&lt;br /&gt;-------------------------------------------------------&lt;br /&gt;Error 3:&lt;br /&gt;: ClassType: [UINameSpace6730031c44f34a1491ea6f608a3e674c.Group] is not upgrade compatible.&lt;br /&gt;[ClassType]: [UINameSpace6730031c44f34a1491ea6f608a3e674c.Group] exis...).&lt;br /&gt;&lt;br /&gt;For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;This tells us that you cannot upgrade a Management Pack when have deleted groups which are in the current active version in your Management Group.&lt;br /&gt;&lt;br /&gt;What should you do:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;If you have an unsealed MP with overrides/customizations for MyAppMP&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Export any customizations/overrides the unsealed MP&lt;/li&gt;&lt;li&gt;Delete the unsealed MP&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Delete the old version of the MP, in this case MyAppMP, version 1.0.0.0.&lt;/li&gt;&lt;li&gt;Import the new version of the MP&lt;/li&gt;&lt;li&gt;Import the unsealed MP you backup in the steps before.&lt;/li&gt;&lt;/ul&gt;Other cases:&lt;br /&gt;&lt;div&gt;&lt;a href="http://thoughtsonopsmgr.blogspot.com/2009/09/mps-wont-import-any-more-is-opsmgr.html"&gt;http://thoughtsonopsmgr.blogspot.com/2009/09/mps-wont-import-any-more-is-opsmgr.html&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-4321402263801977447?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/4321402263801977447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2009/12/scom-importing-management-pack-fails.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/4321402263801977447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/4321402263801977447'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2009/12/scom-importing-management-pack-fails.html' title='SCOM: Importing a Management Pack fails, Event ID 26319'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-5093662537205148120</id><published>2009-11-15T14:17:00.006+01:00</published><updated>2009-11-26T23:50:27.510+01:00</updated><title type='text'>SCOM: Operations Console Reporting locks SDK and Config Account</title><content type='html'>Update 11-26-2009: Microsoft has documented this problem as a bug but only for internal purposes. Only when more customers are having similar problems, they will give it prority for fixing. But, if you do have this problem you can fix it on your own. Using the descriptive explanation in this blog.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;This blog post is about a bug i found in the Operations Console in Operations&amp;nbsp;Manager 2007 R2. This bug can lock your SDK and Config Service Account.&lt;br /&gt;&lt;br /&gt;Consider this example. You manage&amp;nbsp;two SCOM environments from one&amp;nbsp;main domain (domain A) and there's a one-way trust between domain A and domain B (2 seperate forests, B trusts A).&lt;br /&gt;&lt;br /&gt;When you want to use the Reporting feature from the Operations Manager of your Management Group in Domain B, the console this will show an error because this operation is not allowed by design.&lt;br /&gt;&lt;pre&gt;&lt;code&gt;Error message when you try to run a report in System Center Operations &lt;br /&gt;Manager 2007: "Message: Loading reporting hierarchy failed.” “Access is &lt;br /&gt;denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))”&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;If you want to know more about this, read this blog:&lt;br /&gt;&lt;a href="http://blogs.technet.com/operationsmgr/archive/2009/01/27/opsmgr-2007-error-running-report-message-loading-reporting-hierarchy-failed-access-is-denied.aspx"&gt;http://blogs.technet.com/operationsmgr/archive/2009/01/27/opsmgr-2007-error-running-report-message-loading-reporting-hierarchy-failed-access-is-denied.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But, there's caveat. If you use the same login name (a.k.a. SAM-Acount-Name) for the SDK and Config Service Account in both domains,&amp;nbsp;the Operations Console (running in domain A but pointing to Management Group in domain B) will lock the SDK and Config Service Account in domain A. &lt;br /&gt;What!!! Yep, eventhough we are working with on our Management Group in domain B, the SDK and Config Service Account in domain A is locked because the login name for this account is the same in both domains. After investigating the audit trail logs the server who locked the SDK and Config Service Account was the RMS server of the Management Group in domain B.&lt;br /&gt;Remember that &lt;span style="color: red;"&gt;this only occurs&lt;/span&gt; if there´s a &lt;span style="color: red;"&gt;&lt;strong&gt;one-way trust&lt;/strong&gt;&lt;/span&gt;.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;strong&gt;Sent to Microsoft - Official bug&lt;/strong&gt;&lt;br /&gt;After investigating this problem en finding the cause, I&amp;nbsp;created a case at Microsoft Support. After a few weeks they were able&amp;nbsp;to reproduce this problem. This is now an offical bug. Unfortunately Microsoft can not say when this bug is going to be documented or even will get fixed.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Workaround&lt;/strong&gt;&lt;br /&gt;Rename the SDK and Config Service Account 'samAccountName' in Domain B. Or use the work around as mentioned in Prakish' post: &lt;a href="http://blogs.technet.com/operationsmgr/archive/2009/01/27/opsmgr-2007-error-running-report-message-loading-reporting-hierarchy-failed-access-is-denied.aspx"&gt;http://blogs.technet.com/operationsmgr/archive/2009/01/27/opsmgr-2007-error-running-report-message-loading-reporting-hierarchy-failed-access-is-denied.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-5093662537205148120?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/5093662537205148120/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2009/11/scom-operations-console-reporting-locks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/5093662537205148120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/5093662537205148120'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2009/11/scom-operations-console-reporting-locks.html' title='SCOM: Operations Console Reporting locks SDK and Config Account'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-6901499187530836344</id><published>2009-11-14T00:14:00.040+01:00</published><updated>2011-04-12T17:31:33.138+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Authoring'/><category scheme='http://www.blogger.com/atom/ns#' term='Management packs'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><title type='text'>SCOM: Sealing 'Operations Console-build' Management Packs</title><content type='html'>This blog is about the problems you can run into when you seal a management pack which is build from the Operations Console and deploy it in another Management Group.&lt;br /&gt;&lt;br /&gt;When you create a management pack from the Operation Console a few standard items are added by default like some references to standard libraries.&lt;br /&gt;If you want to delegate a logical group of computers combined with some views to a group of administrators&amp;nbsp;for monitoring, usually you do the following:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Create new Management Pack&lt;/li&gt;&lt;li&gt;Create a group&lt;/li&gt;&lt;ul&gt;&lt;li&gt;For example: My Computer Group&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Create dynamic inclusion rules (like "OU matches wildcard "*Web Servers*"&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Create a view&lt;/li&gt;&lt;ul&gt;&lt;li&gt;State view (for example)&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Data related to "Windows Computer"&lt;/li&gt;&lt;li&gt;Data contained within group "My Computer Group"&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;So now we have a simple management pack with a group and a state view which show the Windows Computer state for 'My Computer Group'.&lt;br /&gt;This will work great in the Management Group the MP is created in, but when you seal this MP and want to use it in another SCOM Management Group, a problem arrises. &lt;em&gt;e.g. Creating a MP in a test SCOM Management Group, sealing the MP and deploying the MP in a production management group.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;The problem: Although the group is likely to be populated with objects that comply with the group dynamic inclusion rules, none of the items show up in the State View.&lt;br /&gt;&lt;br /&gt;The cause: The State View is targeted at the 'My Computer Group' but under the hood the group's GUID is used instead of it's ID. The GUID is the &lt;i&gt;'unique?'&lt;/i&gt; BaseManagementID within the Management Group. This will only get noticed when you use this MP in another Management Group as a sealed MP. As a unsealed MP the group, frankly, uses the '&lt;i&gt;same!'&lt;/i&gt;&amp;nbsp;GUID and the view will work.&lt;br /&gt;&lt;br /&gt;The solution: Edit the MP XML file manually and replace the GUID within the view's target to the ID of 'My Computer Group'. You can find the ID in the 'Language Pack'-section of the MP. Note that you'll find two targets. This concerns the &lt;u&gt;subelement&lt;/u&gt; Target and not the&amp;nbsp;attribute from the view element itself.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;Orginal XML&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: xml"&gt;&amp;lt;view id=&amp;quot;myview1234&amp;quot; target=&amp;quot;systemlib!windows computer&amp;quot;&amp;gt;&lt;br /&gt;  &amp;lt;columns&amp;gt;&lt;br /&gt;  ....&lt;br /&gt;  &amp;lt;columns&amp;gt;&lt;br /&gt;  &amp;lt;target&amp;gt;EA99500D-8D52-FC52-B5A5-10DCD1E9D2BD&amp;lt;/target&amp;gt;&lt;br /&gt;&amp;lt;/view&amp;gt;&lt;/pre&gt;&lt;br /&gt;New XML&lt;br /&gt;&lt;pre class="brush: xml"&gt;&amp;lt;view id=&amp;quot;myview1234&amp;quot; target=&amp;quot;systemlib!windows computer&amp;quot;&amp;gt;&lt;br /&gt;  &amp;lt;columns&amp;gt;&lt;br /&gt;  ....&lt;br /&gt;  &amp;lt;columns&amp;gt;&lt;br /&gt;  &amp;lt;target&amp;gt;$MPElement[Name=&amp;quot;My.Computer.Group.ID&amp;quot;]$&amp;lt;/target&amp;gt;&lt;br /&gt;&amp;lt;/view&amp;gt;&lt;/pre&gt;&lt;br /&gt;You might say, "why is this a problem, i'll just won't seal my MP's". Well you could do that, but most people think you should develop a MP in one environment and deliver the MP as a sealed box to the other environment. This way it's not possible for a MP to have a higher version number in e.g. a production environment than the same MP in your test/development environment.&lt;br /&gt;&lt;br /&gt;And remember even if you dó choose to work without sealing, and you and your collegues agree nót to add any changes to a MP in your production environment, one day it will happen. And then you release your amazing new version of the MP, following the standard release process, and all changes of your collegue could get lost.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-6901499187530836344?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/6901499187530836344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2009/11/sealing-operations-console-build.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/6901499187530836344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/6901499187530836344'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2009/11/sealing-operations-console-build.html' title='SCOM: Sealing &apos;Operations Console-build&apos; Management Packs'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-5101210547922164174</id><published>2009-10-10T14:59:00.000+02:00</published><updated>2009-10-10T14:59:11.085+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Management packs'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM R2'/><title type='text'>SCOM R2: New OpsMgr R2 MP released (6.1.7553.0)</title><content type='html'>Just a few days ago Microsoft &lt;a href="http://blogs.technet.com/momteam/archive/2009/10/07/opsmgr-2007-r2-mp-version-6-1-7553-0-is-released.aspx"&gt;released&lt;/a&gt; an updated version of the OpsMgr 2007 R2 Management Pack.&lt;br /&gt;If you have&amp;nbsp;SCOM R2 you can benefit from this release right-away. This MP package (Version 6.1.7553.0) is specific to OpsMgr 2007 R2 and will not import on product versions prior to that. You can find it in the MP Catalog.&lt;br /&gt;&lt;br /&gt;A similar update for OpsMgr 2007 SP1 will be released in the coming weeks. It will be announced on &lt;a href="http://blogs.technet.com/momteam"&gt;http://blogs.technet.com/momteam&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Some highlights:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Better threshold adjustments which results in less false positives&lt;/li&gt;&lt;li&gt;Updated knowledge base and display strings&lt;/li&gt;&lt;li&gt;Disabled some non-actionable rules &amp;amp; monitors&lt;/li&gt;&lt;li&gt;Extra performance counters&lt;/li&gt;&lt;/ul&gt;Read the updated MP guide for more information.&lt;br /&gt;&lt;br /&gt;These updates are based on Community, Customer, and internal feedback.&lt;br /&gt;See Kevin Holman's &lt;a href="http://blogs.technet.com/kevinholman/archive/2009/10/09/dude-got-r2-then-go-get-this-update.aspx"&gt;blog&lt;/a&gt; about SCOM agents continuously rebooting after reaching a memory threshold. This is one of the&amp;nbsp;things&amp;nbsp;fixed in this newly released Management Pack.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-5101210547922164174?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/5101210547922164174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2009/10/scom-r2-new-opsmgr-r2-mp-released.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/5101210547922164174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/5101210547922164174'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2009/10/scom-r2-new-opsmgr-r2-mp-released.html' title='SCOM R2: New OpsMgr R2 MP released (6.1.7553.0)'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-4293122151637806120</id><published>2009-09-22T22:57:00.000+02:00</published><updated>2009-09-22T22:57:37.809+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='R3'/><category scheme='http://www.blogger.com/atom/ns#' term='SCCM'/><title type='text'>SCCM: SCCM R3 announced</title><content type='html'>Recently Microsoft &lt;a href="http://blogs.technet.com/systemcenter/archive/2009/09/08/announcing-system-center-configuration-manager-2007-r3.aspx"&gt;announced&lt;/a&gt; a new release of System Center Configuration Manager. In this release, R3, the focus is on power management.&lt;br /&gt;Nowadays more and more companies look for solutions to&amp;nbsp;take on&amp;nbsp;power usage of there IT infrastructure. In SCCM R3 there are going to be several functionalities that can help your business to lower power consumption.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_C6N6L4R8RYY/Srk4uIEoYNI/AAAAAAAAAHM/TN8zaiMqG4A/s1600-h/SCOMPowerUsageReport.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" iq="true" src="http://4.bp.blogspot.com/_C6N6L4R8RYY/Srk4uIEoYNI/AAAAAAAAAHM/TN8zaiMqG4A/s400/SCOMPowerUsageReport.JPG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;strong&gt;Power Management&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The goal of this capability is to enable Configuration Manager to further reduce the operational costs of IT by providing basic power management features native to the product. Our approach is based on 3 primary areas: &lt;br /&gt;&lt;br /&gt;A. Help the organization plan a power strategy by monitoring current power state and consumption and reporting on machine utilization trends, current power settings and current energy consumption&lt;br /&gt;&lt;br /&gt;B. Enable the Administrator to easily create, deploy and enforce specific power settings using the existing ConfigMgr infrastructure.&lt;br /&gt;−Ability to set peak and non-peak schedules&lt;br /&gt;−Ability to remediate settings if changed&lt;br /&gt;−Ability to opt out machines from power policy&lt;br /&gt;&lt;br /&gt;C. Provide the business meaningful report formats that are relevant to Power Management&lt;br /&gt;&lt;br /&gt;Microsoft is still looking for TAP nominees. If you want to participate, fill in their survey before October 1st, 2009. &lt;a href="https://connect.microsoft.com/content/content.aspx?ContentID=13924&amp;amp;SiteID=16"&gt;SCCM R3 TAP Survey&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For more information, see the Microsoft System Center &lt;a href="http://www.microsoft.com/systemcenter/en/us/default.aspx"&gt;website&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-4293122151637806120?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/4293122151637806120/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2009/09/sccm-sccm-r3-announced.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/4293122151637806120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/4293122151637806120'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2009/09/sccm-sccm-r3-announced.html' title='SCCM: SCCM R3 announced'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_C6N6L4R8RYY/Srk4uIEoYNI/AAAAAAAAAHM/TN8zaiMqG4A/s72-c/SCOMPowerUsageReport.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-2199158226375378784</id><published>2009-08-24T19:51:00.005+02:00</published><updated>2010-12-01T16:09:55.552+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Rules'/><category scheme='http://www.blogger.com/atom/ns#' term='Monitors'/><category scheme='http://www.blogger.com/atom/ns#' term='Authoring'/><category scheme='http://www.blogger.com/atom/ns#' term='Management packs'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><title type='text'>SCOM: Monitor vs. Rule</title><content type='html'>When you want to monitor specific occurences there are two options in SCOM. You can use a monitor or a rule.&lt;br /&gt;&lt;br /&gt;In this blog post i'll will explain why you should use a monitor for a specific occasion and not a rule and vice versa.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;strong&gt;Rules&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Rules Collect data from sources like EventLog, Text or Log Files and Perfmon. That data is stored&lt;br /&gt;In the Operations Manager database. If you have installed a Data Warehouse database this data is replicated to this database for Reporting purposes.&lt;br /&gt;Rules always target classes. You should not target rules to groups. See the Authoring Guide from Microsoft for best practices. Targeting groups results in targeting the Root Management Server, as this is the host of all groups.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;strong&gt;Monitors&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Monitors are used to determine the health state of an application component. A monitor is programmed with the intelligence to determine whether a component is healthy.&lt;br /&gt;&lt;br /&gt;Monitors exist in two flavours, Two-state and Tree-State. Thus, a monitor can either be in one of two states (green or red) or in one of three states (green, yellow, red).&lt;br /&gt;The state changes when the monitor responses to the monitoring information the monitor is using.&lt;br /&gt;&lt;br /&gt;Monitors come in three different types: Unit Monitor, Aggregate Rollup Monitor and Dependency Rollup Monitor&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Unit Monitor&lt;/strong&gt;&lt;br /&gt;A unit monitor is the fundamental monitoring component. Used to monitor specific counters, events, scripts and services. This monitor can generate an alert.&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;strong&gt;&lt;span style="font-size:100%;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;Aggregate Rollup Monitor&lt;/strong&gt;&lt;br /&gt;An aggregate rollup monitor reflects the state of unit, dependency rollup, or other aggregate rollup monitors. Use an aggregate rollup monitor to group multiple&lt;br /&gt;Monitors intro one monitor. This monitor then is used to set the health state and optionally generate an alert. Each object has at least 4 of this rollup monitors: Availability, Configuration, Performance and Security.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Dependency Rollup Monitor&lt;/strong&gt;&lt;br /&gt;A depency rollup monitor rolls up health states from objects linked by either a hosting or a containment relationship. Use this monitor type to make the health state of a particular object dependent on the health state of components that are either hosted or contained. For example, the SQL Server 2005 object has an dependency rollup monitor that is related to a health monitor of a SQL Server 2005 Database object. When an application database is offline is doesn't mean the health state of SQL 2005 is critical, but when the master database has problems this has a direct impact on the SQL Server 2005 object.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;strong&gt;Differences&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;Monitor and rules both collect monitoring data, but the collected data is used very differently. Rules collect data that goes into the Operations Manager database and Operations Manager Data Warehouse.&lt;br /&gt;Monitors evaluate data from various sources and only store the state changes and alerts in the Operations Manager database.&lt;br /&gt;Monitor-collected data is never stored in the Operations Manager database and Data Warehouse and thus is not usable for Reporting.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Example&lt;br /&gt;&lt;/em&gt;You want to monitor disk usage on a file server and generate an alert when used disk space exceeds 85%. You also want to have the disk usage information available for reporting.&lt;br /&gt;How to implement this?&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Create a collection rule to collect disk usage information for reporting&lt;/li&gt;&lt;li&gt;Collection rules do not generate alerts, so you'll need to create a unit monitor for monitoring the disk usage health. This monitor will generate a health state change and an alert after the disk usage exceeds the threshold of 85%. &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-size:78%;"&gt;Source: SCOM Authoring Guide&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-2199158226375378784?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/2199158226375378784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2009/04/scom-monitor-vs-rule.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/2199158226375378784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/2199158226375378784'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2009/04/scom-monitor-vs-rule.html' title='SCOM: Monitor vs. Rule'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-4723913877791786008</id><published>2009-08-19T21:34:00.007+02:00</published><updated>2009-08-26T23:39:01.127+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Reporting'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM R2'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>SCOM: Upgrading to SCOM 2007 R2</title><content type='html'>Last week i was busy upgrading multiple SCOM 2007 SP1 environments to R2. &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The upgrade process to R2 is actually very straigt forward. That is, if your environment is also straight forward.&lt;/div&gt;&lt;div&gt;A collegue of my was presented with an upgrade error when he tried to upgrade the Reporting Server and the Data Warehouse Database in the background.&lt;/div&gt;&lt;div&gt;Eventually it was caused because the user account the SCOM Reporting Server upgrade was started with, was configured as a user on the database without SQL roles.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This takes some time to figure out, especially when you have to work with different teams. A team for SCOM, a team for SQL and for example a team for IIS.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;That's why here is a R2 upgrade info list for your convenience:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.microsoft.com/systemcenter/operationsmanager/en/us/whats-new.aspx"&gt;What's new in SCOM R2&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://technet.microsoft.com/en-us/opsmgr/dd239186.aspx"&gt;R2 Webcasts&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://technet.microsoft.com/en-us/opsmgr/bb498235.aspx"&gt;SCOM R2 Product Documentation&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;But most important:&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://technet.microsoft.com/nl-nl/library/dd861348(en-us).aspx"&gt;SCOM 2007 Upgrade Guide&lt;/a&gt; (Notice the Improving Upgrade Performance &lt;a href="http://technet.microsoft.com/en-gb/library/dd788976.aspx"&gt;article&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;&lt;a href="http://technet.microsoft.com/en-gb/library/bb432137.aspx"&gt;SCOM 2007 Deployment Scenarios&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;And remember, always create a backup of your database before installing a upgrade.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-4723913877791786008?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/4723913877791786008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2009/08/upgrading-to-sccm2007-r2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/4723913877791786008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/4723913877791786008'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2009/08/upgrading-to-sccm2007-r2.html' title='SCOM: Upgrading to SCOM 2007 R2'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-257745832122776890</id><published>2009-08-09T23:10:00.010+02:00</published><updated>2010-06-02T12:03:49.560+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCOM ADMP'/><title type='text'>SCOM: Implementing ADMP replication monitoring in complex environments</title><content type='html'>Installing a management pack in your SCOM environment is a piece of cake. So is implementing ADMP. Things change when your AD forest structure is a bit more challenging than a single domain forest. For example, monitoring 4 different forests without forest trusts. &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;A feature of ADMP is replication monitoring. The account which will be used for monitoring must have rights on domain controllers in the domains. From a 'lease privilege' point of view, you should only give that account rights to only the objects that are really neccesary for operational monitoring. The ADMP guide luckely describes this in detail.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Doing these steps for multiple domains is kind of a hassle. That's why i wanted to create a ADMP deployment script to help system administrators implement ADMP faster in more complex AD environments.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;em&gt;--- weeks later.......&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;I must confess that writing a one-for-all implementation script for ADMP is not easy. Eventually after multiple implementations i made my choice. I decided to cancel my journey for the ultimum. Even if i did continue to make such a script, who would use it. Who do you trust enough to automate a Default Domain Controller Policy deployment, in which you delegate some rights for the Replication Monitor account.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;My advice:&lt;/div&gt;&lt;div&gt;- Read ADMP implementation guide&lt;/div&gt;&lt;div&gt;- Backup your GPO's&lt;/div&gt;&lt;div&gt;- Know about SDDL's and settings security on EventLog items.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;&lt;em&gt;Last but not least&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;There are some tools to help you deploy the ADMP management pack faster. I gathered all tools and hot links:&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;ADMP Checlist: &lt;a href="http://www.systemcentercentral.com/Downloads/DownloadsDetails/tabid/144/IndexID/7808/Default.aspx"&gt;http://www.systemcentercentral.com/Downloads/DownloadsDetails/tabid/144/IndexID/7808/Default.aspx&lt;/a&gt;&lt;/div&gt;&lt;div&gt;SDDL strings for EventLog security:&lt;/div&gt;&lt;div&gt;Microsoft's article: &lt;a href="http://support.microsoft.com/kb/323076"&gt;http://support.microsoft.com/kb/323076&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;SID tools:&lt;/div&gt;&lt;div&gt;I made some VBscripts for this. I will publish them as soon as possible.&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-257745832122776890?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/257745832122776890/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2009/08/implementing-admp-replication.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/257745832122776890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/257745832122776890'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2009/08/implementing-admp-replication.html' title='SCOM: Implementing ADMP replication monitoring in complex environments'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-860942237349211127</id><published>2009-04-22T15:12:00.021+02:00</published><updated>2009-08-26T23:45:31.898+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exam'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='SCCM'/><title type='text'>Preparing your SCOM and SCCM exam</title><content type='html'>4 Weeks ago i sat for the offical Microsoft exams SCOM and SCCM. If you want to know more about SCOM &amp;amp; SCCM including passing the exams you want to read this post.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You'll probably know that there are two ways of passing Microsoft exams.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Get the exam questions and answers in your head, pass, know nothing and get reveiled occasionally when a client askes an in-depth question.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;or, better,&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Get a book, do the Virtual Labs from Microsoft, setup your own test environment, practice lab questions and actually know what your doing. Practice some exams and then pass the actual exam.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;&lt;strong&gt;Important topic areas&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;SCOM&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Know how to configure and maintain SCOM&lt;/li&gt;&lt;li&gt;Configuring Management packs including MOM 2005 MP's&lt;/li&gt;&lt;li&gt;New features in R2&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;SCCM&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Know about the new features compared to SMS 2003, because a lot has been added to Systems Management from MS!&lt;/li&gt;&lt;li&gt;Deployments in different test environments (desktops, offsite notebooks, OSD-deployments) with service windows and baselines.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style="FONT-WEIGHT: bold"&gt;&lt;span style="font-size:130%;"&gt;Materials&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Here's a list of the best materials for studying for SCOM exam 70-400 and SCCM exam 70-401.&lt;/p&gt;&lt;strong&gt;SCOM&lt;/strong&gt;&lt;br /&gt;&lt;p&gt;Book: System Center Operations Manager 2007 Unleashed &lt;a href="http://www.amazon.com/System-Center-Operations-Manager-Unleashed/dp/0672329557/ref=pd_cp_b_1/189-2694662-2877432?pf_rd_m=ATVPDKIKX0DER&amp;amp;pf_rd_s=center-41&amp;amp;pf_rd_r=19X0TG4Z16ZD52HV5V6Z&amp;amp;pf_rd_t=201&amp;amp;pf_rd_p=413864201&amp;amp;pf_rd_i=0470119306"&gt;link&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;I really like the unleashed books. For MOM 2005 I also used the unleased book. Very complete and explained in depth.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;Virtual Labs: &lt;a href="http://technet.microsoft.com/en-us/virtuallabs/bb499680.aspx"&gt;http://technet.microsoft.com/en-us/virtuallabs/bb499680.aspx&lt;/a&gt;&lt;/p&gt;Microsoft info (including practice tests): &lt;a href="http://www.microsoft.com/learning/en/us/exams/70-400.mspx"&gt;http://www.microsoft.com/learning/en/us/exams/70-400.mspx&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;strong&gt;SCCM&lt;/strong&gt;&lt;br /&gt;&lt;p&gt;Book: System Center Configuration Manager 2007 Unleashed &lt;a href="http://www.amazon.com/System-Center-Configuration-Manager-Unleashed/dp/0672330237/ref=sr_1_1?ie=UTF8&amp;amp;s=books&amp;amp;qid=1241642280&amp;amp;sr=8-1"&gt;link&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;Yes, another Unleashed! For SMS 2003 I read a Microsoft Press book. It was OK, but this book for SCCM gives just more in-depth information.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;(If you're familiar with other good SCCM books of which you think should be listed here, let me know)&lt;br /&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;Virtual Labs: &lt;a href="http://technet.microsoft.com/en-us/virtuallabs/bb499680.aspx"&gt;http://technet.microsoft.com/en-us/virtuallabs/bb499680.aspx&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Or &lt;a href="http://technet.microsoft.com/en-us/virtuallabs/bb539977.aspx"&gt;http://technet.microsoft.com/en-us/virtuallabs/bb539977.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Microsoft info (including practice tests): &lt;a href="http://www.microsoft.com/learning/en/us/exams/70-401.mspx"&gt;http://www.microsoft.com/learning/en/us/exams/70-401.mspx&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="FONT-WEIGHT: bold"&gt;&lt;span style="font-size:130%;"&gt;Studying&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Do theory and practices. Write down things you don't understand. Search the internet for blogs like this one for possible answers. But this is just basically what you always should do when studying techninal areas.&lt;/p&gt;&lt;p&gt;.... oh.... I passed both exams. :)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-860942237349211127?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/860942237349211127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2009/04/preparing-your-exam-for-scom-and-sccm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/860942237349211127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/860942237349211127'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2009/04/preparing-your-exam-for-scom-and-sccm.html' title='Preparing your SCOM and SCCM exam'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-4850862637077157705</id><published>2009-03-27T11:28:00.009+01:00</published><updated>2010-06-02T12:42:46.226+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Reporting'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><title type='text'>SCOM: Reporting queries for performance counters</title><content type='html'>When you want to start making reports in your SCOM environment, you'd first have to learn how the data is stored in the SCOM DataWarehouse and which tables, views or stored procedure you can use.&lt;br /&gt;&lt;br /&gt;I use SQL Server Business Intelligence Development Studio. You can use Report Builder, but it is less featured.&lt;br /&gt;After you create a Shared DataSource and a new report, you can create your query for your Data Set.&lt;br /&gt;&lt;br /&gt;Below is a query to get performance data from the aggregated view 'PerfDaily' for a computer from counter name 'Working Set'.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: sql"&gt;-- BEGIN QUERY&lt;br /&gt;SELECT Perf.vPerfDaily.DateTime, Perf.vPerfDaily.AverageValue, vManagedEntity.Path, vPerformanceRule.ObjectName, vPerformanceRule.CounterName,&lt;br /&gt;vManagedEntity.FullName, vPerformanceRuleInstance.InstanceName&lt;br /&gt;FROM vPerformanceRuleInstance INNER JOIN&lt;br /&gt;Perf.vPerfDaily ON vPerformanceRuleInstance.PerformanceRuleInstanceRowId = Perf.vPerfDaily.PerformanceRuleInstanceRowId INNER JOIN&lt;br /&gt;vManagedEntity ON Perf.vPerfDaily.ManagedEntityRowId = vManagedEntity.ManagedEntityRowId INNER JOIN&lt;br /&gt;vPerformanceRule ON vPerformanceRuleInstance.RuleRowId = vPerformanceRule.RuleRowId&lt;br /&gt;WHERE (vPerformanceRule.CounterName = 'Working Set') AND (vManagedEntity.Path = @ComputerName)&lt;br /&gt;ORDER BY Perf.vPerfDaily.DateTime&lt;br /&gt;&lt;br /&gt;--END QUERY&lt;/pre&gt;&lt;br /&gt;@ComputerName is a parameter which can be entered by a user. Another option is to fill this value with server names based on another query. Like "give me all servers from a specific group".&lt;br /&gt;&lt;br /&gt;Such a query could be:&lt;br /&gt;&lt;pre class="brush: sql"&gt;-- BEGIN QUERY&lt;br /&gt;SELECT dbo.vManagedEntity.Name&lt;br /&gt;FROM dbo.vManagedEntity INNER JOIN&lt;br /&gt;dbo.vRelationship On dbo.vManagedEntity.ManagedEntityRowId = dbo.vRelationship.TargetManagedEntityRowId INNER JOIN&lt;br /&gt;dbo.vManagedEntity As CompGroup On dbo.vRelationship.SourcemanagedEntityRowId = CompGroup.ManagedEntityRowId&lt;br /&gt;WHERE CompGroup.DisplayName = 'MyServers'&lt;br /&gt;-- END QUERY&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-4850862637077157705?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/4850862637077157705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2009/03/scom-report-queries-for-performance.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/4850862637077157705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/4850862637077157705'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2009/03/scom-report-queries-for-performance.html' title='SCOM: Reporting queries for performance counters'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-7436934867097256468</id><published>2009-03-25T12:10:00.005+01:00</published><updated>2010-06-02T12:42:46.228+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PowerShell'/><category scheme='http://www.blogger.com/atom/ns#' term='SCOM'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><title type='text'>SCOM: Maintenance Mode with PowerShell</title><content type='html'>There are situations where you want to set maintenance windows on certain machines within your SCOM infrastructure. This can be accomplised with the Operations Console or Command Shell.&lt;br /&gt;The great advantage for SCOM (in comparison with MOM) is that maintance mode can be set on all monitored classes. So it's possible to set maintance mode for a webapplication, without setting your complete IIS webserver to maintenance mode.&lt;br /&gt;&lt;br /&gt;This post is about the Command Shell. When you install the SCOM Command Shell (Powershell is a prequirement), you'll get access to numerous SCOM cmdlets for different managing tasks.&lt;br /&gt;&lt;br /&gt;To get all cmdlets concerning 'MaintenanceWindow', type:&lt;br /&gt;&gt;get-operationsmanagercommand where-object { $_.Name -match "MaintenanceWindow"}&lt;br /&gt;&lt;br /&gt;Below are some examples...&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Create a new maintenance window for a computer&lt;/strong&gt;&lt;br /&gt;&lt;pre class="brush: ps"&gt;# Ask user for input&lt;br /&gt;$strComputerName = Read-Host "Enter computer name"&lt;br /&gt;&lt;br /&gt;$objComputer = Get-Agent | Where-Object {$_.Name -match $strComputerName}&lt;br /&gt;$objComputer.HostComputer | New-MaintenanceWindow -StartTime:"3/25/2009 22:00" -EndTime:"3/25/2009 23:30" -Comment: "Server maintenance"&lt;/pre&gt;&lt;br /&gt;&lt;strong&gt;Create a new maintenance window for a group&lt;/strong&gt;&lt;br /&gt;&lt;pre class="brush: ps"&gt;# Ask user for input&lt;br /&gt;$strGroupName = Read-Host "Enter group name"&lt;br /&gt;&lt;br /&gt;$objGroup = get-monitoringobject | Where-Object {$_.DisplayName -eq $strGroupName}&lt;br /&gt;$objGroupAgents = $objGroup.getrelatedmonitoringobjects()&lt;br /&gt;&lt;br /&gt;# Looping throug group object&lt;br /&gt;foreach ($objAgent in $objGroupAgents)&lt;br /&gt;{&lt;br /&gt;New-MaintenanceWindow -startTime::"3/25/2009 22:00" -EndTime:"3/25/2009 23:30"&lt;br /&gt;-monitoringObject:$objComputer -comment:"Server group maintenance"&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;&lt;strong&gt;Create a new maintenance window on a Web Application&lt;/strong&gt;&lt;br /&gt;&lt;em&gt;Below is a script that puts a Web Application in maintenance mode. Using the extra get-monitoringclass cmdlet resulted in a faster script, then only using the cmdlet get-monitoringobject with a where clause.&lt;/em&gt;&lt;br /&gt;&lt;pre class="brush: ps"&gt;# Ask user for input&lt;br /&gt;$strWebApp = Read-Host "Enter the Web Application name"&lt;br /&gt;&lt;br /&gt;# Get class object&lt;br /&gt;$objMonClass = get-monitoringclass where-object { $_.Name -eq "Microsoft.SystemCenter.WebApplication.Perspective"}&lt;br /&gt;&lt;br /&gt;# Connect object and add Maintenance Window&lt;br /&gt;get-monitoringobject -MonitoringClass $objMonClass | Where-Object { $_.DisplayName -match $strWebApp } | New-MaintenanceWindow -StartTime:"3/25/2009 22:00" -EndTime:"3/25/2009 23:30" -Comment: "Server maintenance"&lt;/pre&gt;&lt;br /&gt;.... more examples to come.&lt;br /&gt;&lt;br /&gt;See &lt;a href="http://www.systemcenterforum.org/downloads/scom-maintenance-mode-script-20/"&gt;http://www.systemcenterforum.org/downloads/scom-maintenance-mode-script-20/&lt;/a&gt; for ready made scripts to add computer, groups to maintance mode including the related health service.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-7436934867097256468?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/7436934867097256468/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2009/03/scom-maintenance-mode-with-powershell.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/7436934867097256468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/7436934867097256468'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2009/03/scom-maintenance-mode-with-powershell.html' title='SCOM: Maintenance Mode with PowerShell'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4224315535626615061.post-7227389880090430658</id><published>2009-03-25T11:28:00.000+01:00</published><updated>2009-03-25T11:32:11.471+01:00</updated><title type='text'>Start of a System Center blog</title><content type='html'>Today i started my blog about System Center. A product suite of Microsoft for managing and maintaining your complete client/server IT-Infrastructure.&lt;br /&gt;&lt;br /&gt;Because of my experience with various products from System Center, i wanted to share my knowledge with others.&lt;br /&gt;&lt;br /&gt;Have a greate time!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4224315535626615061-7227389880090430658?l=michielw.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://michielw.blogspot.com/feeds/7227389880090430658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://michielw.blogspot.com/2009/03/start-of-system-center-blog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/7227389880090430658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4224315535626615061/posts/default/7227389880090430658'/><link rel='alternate' type='text/html' href='http://michielw.blogspot.com/2009/03/start-of-system-center-blog.html' title='Start of a System Center blog'/><author><name>Michiel Wouters</name><uri>http://www.blogger.com/profile/01623603429909806477</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='5' src='http://2.bp.blogspot.com/_C6N6L4R8RYY/SpQ691ysGeI/AAAAAAAAAGQ/LPO45UJoU5Q/S220/MCTS(rgb)_1082_537.jpg'/></author><thr:total>0</thr:total></entry></feed>
