<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://myitforum.com/cs2/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Paul Thomsen at myITforum.com</title><subtitle type="html">&lt;b&gt;Computer management from the point of view of a solutions engineer working at 1E.&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;
(ConfigMgr is Microsoft System Center Configuration Manager (SCCM))
&lt;br /&gt;
&lt;a target="_blank" class="" href="http://www.microsoft.com/sccm"&gt;www.microsoft.com/SCCM&lt;/a&gt; 
&lt;br /&gt;
</subtitle><id>http://myitforum.com/cs2/blogs/pthomsen/atom.aspx</id><link rel="alternate" type="text/html" href="http://myitforum.com/cs2/blogs/pthomsen/default.aspx" /><link rel="self" type="application/atom+xml" href="http://myitforum.com/cs2/blogs/pthomsen/atom.aspx" /><generator uri="http://communityserver.org" version="3.1.31113.47">Community Server</generator><updated>2010-11-08T21:59:00Z</updated><entry><title>What does your baseline client activity curve look like?</title><link rel="alternate" type="text/html" href="http://myitforum.com/cs2/blogs/pthomsen/archive/2011/06/29/158218.aspx" /><id>http://myitforum.com/cs2/blogs/pthomsen/archive/2011/06/29/158218.aspx</id><published>2011-06-30T04:55:18Z</published><updated>2011-06-30T04:55:18Z</updated><content type="html">&lt;p&gt;The way your clients behave and how you would like them to behave are not necessarily the same thing. That isn’t always bad, but if you understand how they behave and can explain that, then you (and your stakeholders) can be reasonably confident that everything is under control. If not, then it’s time to do some investigation and possibly make some adjustments.&lt;/p&gt;  &lt;p&gt;For example, the following two graphs are how two populations of clients report ConfigMgr heartbeat discovery:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://myitforum.com/cs2/blogs/pthomsen/image_396E62AD.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://myitforum.com/cs2/blogs/pthomsen/image_thumb_58B10980.png" width="324" height="203" /&gt;&lt;/a&gt;&lt;a href="http://myitforum.com/cs2/blogs/pthomsen/image_22CC1466.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://myitforum.com/cs2/blogs/pthomsen/image_thumb_68DCD179.png" width="324" height="203" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;You’ll notice the graphs are quite different. Part of the reason is that the first population has clients reporting heartbeat every day, and thus most clients report within a day, a good number more in two days, and the rest progressively over time. This would be reasonable for a client-base that is supposed to report heartbeat daily and is mostly powered up in the office each day (online to the ConfigMgr servers) with a small fraction of machines being mobile or being rebuilt over time. If that’s expected behavior, then all is well in this environment.&lt;/p&gt;  &lt;p&gt;The second population has a small fraction of clients reporting in during the first two days, a quiet period (presumably a weekend), and then linearly more clients reporting heartbeat until day 7. From there the ‘laggards’ report in similarly to the first population, but at a slightly steeper rate. In this case the heartbeat discovery rate is set to 7 days, so that curve makes sense.&lt;/p&gt;  &lt;p&gt;Both populations look to be reasonably healthy, in that a very high fraction of the clients report in within their expected heartbeat discovery cycles. When the heartbeat rate is set to daily then that conclusion can be reached more quickly, and any future disturbances in this curve would be caught more quickly. So it is advisable to use a frequent heartbeat cycle if possible (if servers and network allow it).&lt;/p&gt;  &lt;p&gt;How can you produce a baseline client activity curve for your clients? The following SQL will do it for you:&lt;/p&gt;  &lt;p&gt;&lt;font size="1"&gt;declare @olddate datetime, @NullVal datetime, @today datetime      &lt;br /&gt;set @today=GETDATE()       &lt;br /&gt;set @olddate=DATEADD(day,-7, @today)       &lt;br /&gt;set @NullVal = CONVERT(datetime,&amp;#39;1/1/1980&amp;#39;)       &lt;br /&gt;&lt;/font&gt;&lt;font size="1"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="1"&gt;select datediff(DAY, AgentTime, @today) &amp;#39;DaysAgo&amp;#39;, count(DISTINCT Name0) &amp;#39;Clients&amp;#39; into #temp1      &lt;br /&gt;from v_R_System sys full join (select ResourceId, MAX(AgentTime) as AgentTime from v_AgentDiscoveries where agentname&amp;lt;&amp;gt;&amp;#39;SMS Discovery Data Manager&amp;#39; AND agentname not like &amp;#39;%!_AD!_System%&amp;#39; ESCAPE &amp;#39;!&amp;#39;group by ResourceId) disc on disc.resourceid=sys.resourceid where client0=1 and obsolete0=0       &lt;br /&gt;group by datediff(DAY, AgentTime, @today)&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="1"&gt;-- thanks to &lt;/font&gt;&lt;a href="http://www.sqlteam.com/article/calculating-running-totals"&gt;&lt;font size="1"&gt;http://www.sqlteam.com/article/calculating-running-totals&lt;/font&gt;&lt;/a&gt;&lt;font size="1"&gt; for the basis of this part:      &lt;br /&gt;SELECT a.DaysAgo, SUM(b.Clients) &amp;#39;Total Clients&amp;#39;, a.Clients &amp;#39; Daily Clients&amp;#39;       &lt;br /&gt;FROM #temp1 a CROSS JOIN #temp1 b WHERE (b.DaysAgo &amp;lt;= a.DaysAgo)       &lt;br /&gt;GROUP BY a.DaysAgo,a.Clients ORDER BY a.DaysAgo,a.Clients&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Plug the results into Excel and produce the graph from there. Now you understand your clients better!&lt;/p&gt;  &lt;p&gt;p.s. This kind of analysis gets really interesting when you compare key client service activities (such as patch installation, inventory reporting, software distribution status, etc.) vs. these baseline curves.&amp;#160; If any of those deviate significantly from the baseline, then there’s probably something wrong with those subsystems. The queries for that analysis are not very different from those above.&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=158218" width="1" height="1"&gt;</content><author><name>pthomsen</name><uri>http://myitforum.com/cs2/members/pthomsen.aspx</uri></author></entry><entry><title>Learning New ConfigMgr Versions at the Database Level</title><link rel="alternate" type="text/html" href="http://myitforum.com/cs2/blogs/pthomsen/archive/2011/06/18/158081.aspx" /><id>http://myitforum.com/cs2/blogs/pthomsen/archive/2011/06/18/158081.aspx</id><published>2011-06-19T01:52:56Z</published><updated>2011-06-19T01:52:56Z</updated><content type="html">&lt;p&gt;Those of us that have been in the ConfigMgr (SCCM/SMS) business for a while have had the joy (and challenge) of learning the new versions as they’re developed and then released. There are many approaches to that learning curve, and I’m a fan of all of them. You can learn top-down, meaning you review the marketing and product documentation that highlights the differences and then focus on whatever details are relevant to you. You can experiment with the new version, seeing how it works, what’s changed, and what’s challenging - that’s a middle ground approach to me. And then there’s the bottom-up approach of looking at the technical changes and trying to understand why they were made and how you can use them.&lt;/p&gt;  &lt;p&gt;For some reason I actually like the latter approach most of all. By seeing the technical implementation details I can understand what’s really changed. A good example is log files, both client-side and server-side. If a new log is introduced and it has some substance, then that must be an important component, and it must add some important functionality. The high-level details give us the context of that importance, but the low-level details give us the clues to make it work well.&lt;/p&gt;  &lt;p&gt;As I’ve mentioned in the past, the first moment at which I fell in love with ConfigMgr was looking at the database. That’s hard to explain, but I still maintain that ConfigMgr is a data-centric system and thus the database is very important. When I’m learning a new version of ConfigMgr, I start by focusing on the database changes.&lt;/p&gt;  &lt;p&gt;An easy approach to looking at database changes is to fire up SQL Server Management Studio, connect to your new ConfigMgr database, expand the Views node, and look for changes. With up to 1,000 views that’s problematic, though you can ease the process by ignoring the collection views, inventory views, and ‘secondary views’ (those that seem to be intermediate views). But that all depends on your memory of the previous version’s database schema and what’s important, so it’s easy to miss fun new views.&lt;/p&gt;  &lt;p&gt;Another alternative is to query for the differences. Those queries (assuming you’re doing them from the database server with the previous version) would be:&lt;/p&gt;  &lt;p&gt;&lt;font size="1"&gt;-- lost views     &lt;br /&gt;SELECT * from sysobjects where type=&amp;#39;V&amp;#39;       &lt;br /&gt;and name not like &amp;#39;v_CM_RES_COLL_%&amp;#39; and name not like &amp;#39;_RES_COLL_%&amp;#39; and name not like &amp;#39;v_HS_%&amp;#39;      &lt;br /&gt;and name not in      &lt;br /&gt;(SELECT name from [new_version_server.new_version_database].dbo.sysobjects where type=&amp;#39;V&amp;#39;       &lt;br /&gt;and name not like &amp;#39;v_CM_RES_COLL_%&amp;#39; and name not like &amp;#39;_RES_COLL_%&amp;#39; and name not like &amp;#39;v_HS_%&amp;#39;)      &lt;br /&gt;order by name&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="1"&gt;-- new views     &lt;br /&gt;SELECT * from [new_version_server.new_version_database].dbo.sysobjects where type=&amp;#39;V&amp;#39;       &lt;br /&gt;and name not like &amp;#39;v_CM_RES_COLL_%&amp;#39; and name not like &amp;#39;_RES_COLL_%&amp;#39; and name not like &amp;#39;v_HS_%&amp;#39;      &lt;br /&gt;and name not in      &lt;br /&gt;(SELECT name from sysobjects where type=&amp;#39;V&amp;#39;       &lt;br /&gt;and name not like &amp;#39;v_CM_RES_COLL_%&amp;#39; and name not like &amp;#39;_RES_COLL_%&amp;#39; and name not like &amp;#39;v_HS_%&amp;#39;)      &lt;br /&gt;order by name&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;You’ll notice the queries ignore the collection and hardware inventory history views. Collections are a constant and I’d rather compare hardware inventory changes by looking at the SMS_def.mof changes.&lt;/p&gt;  &lt;p&gt;The lost views will likely be a manageable number but the list of new views could be quite numerous, depending on how big the version differences are between the versions you’re comparing. Service packs are likely to introduce few changes, major versions will introduce a lot, and minor versions will be somewhere in between.&lt;/p&gt;  &lt;p&gt;If there are a lot of changes then you’ll want to do variations on the above queries, filtering out groups of views as you understand them. Views do often have naming conventions that group related views to each other and so if you understand the significance of the group then you can eliminate them from your list of views to study.&lt;/p&gt;  &lt;p&gt;Admittedly, interpreting what a new view adds can be tricky. The name of the views and the columns will give clues. Doing queries against the view when it’s got some data will help further. To a large degree you just have to follow your instincts and focus on those that seem most interesting. And this is just one way to learn the new version, so don’t spend too much time focusing on this technique.&lt;/p&gt;  &lt;p&gt;Finally, you might ask what can be seen by using this technique to compare ConfigMgr 2007 with ConfigMgr 2012. My suggestion is that it’s too early to jump to conclusions. ConfigMgr 2012 will change as time goes on (otherwise it would be released already). Exciting view changes are blog posts for future dates.&lt;/p&gt;  &lt;p&gt;p.s. I focus on views here, as opposed to tables, because views are what we have always been encouraged to use as ConfigMgr customers. Generally that works, but sometimes there are interesting table additions that don’t get reflected in views. For that reason you may want to also look at tables, but that’s an easy extension of the above concepts.&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=158081" width="1" height="1"&gt;</content><author><name>pthomsen</name><uri>http://myitforum.com/cs2/members/pthomsen.aspx</uri></author><category term="SQL Server" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/SQL+Server/default.aspx" /><category term="SQL queries" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/SQL+queries/default.aspx" /><category term="ConfigMgr" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/ConfigMgr/default.aspx" /></entry><entry><title>The diversity of computer management customer environments</title><link rel="alternate" type="text/html" href="http://myitforum.com/cs2/blogs/pthomsen/archive/2011/06/08/157939.aspx" /><id>http://myitforum.com/cs2/blogs/pthomsen/archive/2011/06/08/157939.aspx</id><published>2011-06-09T03:43:37Z</published><updated>2011-06-09T03:43:37Z</updated><content type="html">&lt;p&gt;Throughout my career I’ve been amazed by the diversity of the environments that you and I work in or serve. People sometimes ask why computer management is often so complex, but to me the answer is simply that there’s no one-size-fits-all solution. That’s part of what makes this field so much fun! &lt;/p&gt;  &lt;p&gt;Furthermore, each of the variables is a scale, with different organizations falling at different points in each dimension. In no particular order:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;size by count of clients - 100 clients to 300,000+ clients &lt;/li&gt;    &lt;li&gt;size by number of server sites - 1 site to 18,0000 sites &lt;/li&gt;    &lt;li&gt;size by number of locations – often much more than the number of server sites &lt;/li&gt;    &lt;li&gt;size by the size of individual sites or locations - 2 clients to 10,000 clients at an individual site or location &lt;/li&gt;    &lt;li&gt;&amp;#39;stability&amp;#39; of clients - all users at designated, fixed machines to many users swapping many machines and often on the road at many locations (possibly connecting by various means). Rebuilding machines or having multiple clients per user can further complicate this variable &lt;/li&gt;    &lt;li&gt;features used - such as inventory collection, operating system deployment, software distribution, patching, remote control, software metering, and configuration management &lt;/li&gt;    &lt;li&gt;sophistication of feature use - out of the box defaults to highly customized inventories, extensive reporting, numerous and fancy packages, etc. &lt;/li&gt;    &lt;li&gt;network complexity - no links or all good links, to a mish-mash of link types, including complex scenarios such as satellite links &lt;/li&gt;    &lt;li&gt;administration and engineering organization – one unit, centralized and working well together, to many units, decentralized and centralized, not working well together &lt;/li&gt;    &lt;li&gt;business organization (stakeholders) – centralized to many business units with widely varying goals, philosophies and needs &lt;/li&gt;    &lt;li&gt;security - out of the box, generic to highly locked down with third party tools and complete paranoia &lt;/li&gt;    &lt;li&gt;domain/forest models - one domain to multi-master domain model, or multi-domain model &lt;/li&gt;    &lt;li&gt;administration and engineering sophistication - barely know what they&amp;#39;re doing to gurus with programming skills ready to change or fix anything &lt;/li&gt;    &lt;li&gt;management support – “don’t screw up”, to “I trust you, and if the users give you a hard time – why don’t they take computer management seriously?” &lt;/li&gt;    &lt;li&gt;sensitivity to problems / risk tolerance - go with the flow to it must work first time, every time, forever &lt;/li&gt;    &lt;li&gt;history - starting clean, or heavily invested in a competitor, to heavily invested in ConfigMgr &lt;/li&gt;    &lt;li&gt;vendors - pure Microsoft shop to mix of Microsoft, Linux, 3rd parties, etc. &lt;/li&gt;    &lt;li&gt;hardware – all one kind of high-end PCs/laptops to a mish mash of low end to high end PC&amp;#39;s from various vendors plus Apple. Devices further complicate this story &lt;/li&gt;    &lt;li&gt;operating systems – mostly XP or Win7 to a sprinkling of everything ever offered &lt;/li&gt;    &lt;li&gt;budget - money is not an object to do it all for free (or get the vendor to pay for it) &lt;/li&gt;    &lt;li&gt;management wisdom - total wisdom to hasn&amp;#39;t got a clue &lt;/li&gt;    &lt;li&gt;time frame - take the time it needs to “you&amp;#39;ve got until Friday” &lt;/li&gt;    &lt;li&gt;experience doing projects &lt;/li&gt;    &lt;li&gt;job security – cover my ass and hope for the best, to let’s make it happen and I can handle the risks &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;What other variables would you add?&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=157939" width="1" height="1"&gt;</content><author><name>pthomsen</name><uri>http://myitforum.com/cs2/members/pthomsen.aspx</uri></author></entry><entry><title>My first day at 1E!</title><link rel="alternate" type="text/html" href="http://myitforum.com/cs2/blogs/pthomsen/archive/2011/04/26/157007.aspx" /><id>http://myitforum.com/cs2/blogs/pthomsen/archive/2011/04/26/157007.aspx</id><published>2011-04-26T12:42:07Z</published><updated>2011-04-26T12:42:07Z</updated><content type="html">&lt;p&gt;I just had the most amazing day with my new co-workers at 1E! Yes, that means I’m now working at 1E, and thus not working at Microsoft. I had a wonderful 12 years at Microsoft, working with many great people in various roles, but I decided it was time to take my career to the next level. &lt;/p&gt;  &lt;p&gt;Those of you that have known me throughout my career know that I have always loved ConfigMgr (originally SMS) and also know that it has been all about the community for me. We, the community (customers, Microsoft, and partners) have made ConfigMgr great, through good times and bad. We’ve continually learned from each other, shared tools, found solutions, etc. I started as a customer (at the Government of Ontario), and have participated in the community through books, my magazine column, this blog, presentations at MMS, forums, etc. At Microsoft it was a huge honor to be a technical writer for several years and then to be part of the team that deployed ConfigMgr to 300,000 clients in a complex set of environments as the key internal customer of ConfigMgr. That included ‘dogfooding’ ConfigMgr through many releases and thus working with the product team to ensure it was ready for your production environments. &lt;/p&gt;  &lt;p&gt;So working at 1E is the right move for my next career stage. Working with MANY customers in person at the 2010 Partner of the Year will allow me to take my passion for ConfigMgr and computer management to new highs and to contribute in new ways to the community and 1E in particular. Working with the all-star team here at 1E is incredibly inspiring.&lt;/p&gt;  &lt;p&gt;It’s always sad to leave, but because the team I left at Microsoft is so great, I’m more than confident they will continue to dogfood ConfigMgr at the high level we all expect and will be very successful with the ongoing operations of ConfigMgr at Microsoft and related environments.&lt;/p&gt;  &lt;p&gt;1E, as most of you know, has been a great partner company for ConfigMgr for over a decade. 1E provides consulting services and proven content distribution, power management, user-driven software deployment, and client health solutions, deployed at many ConfigMgr customers, including many of the largest customers. That history of innovation is getting even better, with products such as NightWatchman Server Edition and AppClarity. See &lt;a href="http://www.1E.com/"&gt;http://www.1E.com/&lt;/a&gt; for more background.&lt;/p&gt;  &lt;p&gt;I look forward to working, talking, and sharing with you in my new role. This is gonna be great!! &lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=157007" width="1" height="1"&gt;</content><author><name>pthomsen</name><uri>http://myitforum.com/cs2/members/pthomsen.aspx</uri></author></entry><entry><title>Great Moments in Swag</title><link rel="alternate" type="text/html" href="http://myitforum.com/cs2/blogs/pthomsen/archive/2011/03/16/155776.aspx" /><id>http://myitforum.com/cs2/blogs/pthomsen/archive/2011/03/16/155776.aspx</id><published>2011-03-17T04:36:27Z</published><updated>2011-03-17T04:36:27Z</updated><content type="html">&lt;p&gt;MMS 2011 is just days away, and while there are many things that make a conference great, mementos are key amongst them. Yes, swag!&lt;/p&gt;  &lt;p&gt;I’m sure there will be some great stuff at MMS, but my latest addition will be hard to beat:    &lt;br /&gt;&lt;a href="http://myitforum.com/cs2/blogs/pthomsen/WP_000111_2040B5A5.jpg"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="WP_000111" border="0" alt="WP_000111" src="http://myitforum.com/cs2/blogs/pthomsen/WP_000111_thumb_77C1D390.jpg" width="256" height="347" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;This awesome collector’s item is a “WBEM” team mug from about a dozen years ago, where WBEM means Web-based Enterprise Management. WBEM is the standard that WMI is based on (which in turn is Windows Management Instrumentation). WMI is central to ConfigMgr and grew out of the same team that now brings us ConfigMgr (SMS back in those days). WBEM is the standard that makes WMI a management platform for more than just Windows. WBEM is hard to pronounce literally, and thus the close-enough “web-M” is used. Notice the web theme on the mug.&lt;/p&gt;  &lt;p&gt;Thanks go to Margaret Boos.&lt;/p&gt;  &lt;p&gt;This mug will, of course, get a prominent place on may wall-of-swag: &lt;a href="http://myitforum.com/cs2/blogs/pthomsen/archive/2010/04/17/146119.aspx"&gt;http://myitforum.com/cs2/blogs/pthomsen/archive/2010/04/17/146119.aspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=155776" width="1" height="1"&gt;</content><author><name>pthomsen</name><uri>http://myitforum.com/cs2/members/pthomsen.aspx</uri></author></entry><entry><title>I = O + U</title><link rel="alternate" type="text/html" href="http://myitforum.com/cs2/blogs/pthomsen/archive/2011/02/14/154281.aspx" /><id>http://myitforum.com/cs2/blogs/pthomsen/archive/2011/02/14/154281.aspx</id><published>2011-02-15T04:59:19Z</published><updated>2011-02-15T04:59:19Z</updated><content type="html">&lt;p&gt;Inactive clients = offline clients + unhealthy clients.&lt;/p&gt;  &lt;p&gt;That’s something I’ve said in words many times in the past, but the formula is a powerful way to articulate it. We all did at least basic algebra in high school and thus understand that if you know 2 variables in such an equation then you can solve for the third variable. So if we know two of the client health values confidently then we know the third one confidently – that’s a breakthrough!&lt;/p&gt;  &lt;p&gt;To recap, those of us that do computer management client health know that fully unhealthy clients and offline clients share a key trait: they don’t report any data to the servers. Offline clients are ‘good’ in the sense that they can’t do anything bad to other computers (like infecting them with viruses), and they can’t be managed, so they should be removed from the denominator when calculating computer management success (such as patch management success). But fully unhealthy clients do the same thing (don’t report data to the servers). Therefore we can’t directly distinguish between offline clients and fully unhealthy clients. &lt;/p&gt;  &lt;p&gt;If we have a small number of inactive clients then the whole issue is insignificant. But if we have too many of them then we do care about this issue. For example, if we do a patch (software update) management deployment and 96% of the clients are reporting as compliant after 3 weeks while our SLA is 98% then we would be worried. If we checked the status and found that 2.3% are reporting “Enforcement state unknown”, 1.5% failed to install the patches (for the usual patch installation issues), and all other ‘buckets’ are very small, then obviously the &amp;#39;”Enforcement state unknown” clients are the important ones. As client health administrators we have to explain what that bucket means.&lt;/p&gt;  &lt;p&gt;&amp;quot;Enforcement state unknown” brings us back to the formula. These are generally inactive clients, which is easily demonstrated with a simply query or report. But are they offline or unhealthy? If we could reliably distinguish the offline clients (‘O’ in the formula) then we could take them out of the patch management success calculation. Or we could focus on the unhealthy clients and fix them. In a future post I’ll discuss the offline client problem but for now let’s agree that there is no good solution for it at this time.&lt;/p&gt;  &lt;p&gt;The good news is that with ConfigMgr 2012 we should be able to reliably identify the unhealthy clients (‘U’ in the formula). We know ‘I’ and “U’ and therefore can calculate ‘O’! The unhealthy clients are determined by the ConfigMgr 2012 “ccmeval.exe” program, which has few dependencies and runs on the clients themselves, and therefore should be very reliable. We already have ‘I’ from the server-side data. Therefore the formula allows us to know ‘U’ with great accuracy. In my case I found that 7% of the ‘Enforcement state unknown’ clients were unhealthy and therefore the the SUM administrator could be confident that most of the “Enforcement state unknown” clients were simply offline. He could adjust his compliance calculation accordingly and know that he had more than 98% compliance, meaning that he had indeed achieved his SLA.&lt;/p&gt;  &lt;p&gt;p.s. Credit goes to Josh Pointer (Principal PM, ConfigMgr product team) for emphasizing this concept to me. He didn’t word it this way but the concept is the same.&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=154281" width="1" height="1"&gt;</content><author><name>pthomsen</name><uri>http://myitforum.com/cs2/members/pthomsen.aspx</uri></author></entry><entry><title>MMS 2011–Let’s Talk about Client Health at the Next Level!</title><link rel="alternate" type="text/html" href="http://myitforum.com/cs2/blogs/pthomsen/archive/2011/01/13/153555.aspx" /><id>http://myitforum.com/cs2/blogs/pthomsen/archive/2011/01/13/153555.aspx</id><published>2011-01-14T03:48:15Z</published><updated>2011-01-14T03:48:15Z</updated><content type="html">&lt;p&gt;I’m thrilled to see that the powers-that-be accepted my latest proposal for a Microsoft Management Summit presentation. Kristina Ashment and I will be presenting &lt;a title="BGO2: client health presentation at MMS 2011" href="http://www.mms-2011.com/topic/details/BG02" target="_blank"&gt;BG02&lt;/a&gt;, “&lt;strong&gt;Client Health in Configuration Manager 2012 – How Microsoft IT is Using It&lt;/strong&gt;”. Kristina is the ConfigMgr product group program manager currently responsible for client health and she will present the design details. I’ll present the ‘how we use it’ details, and thus practical information on how you’ll benefit from the ConfigMgr 2012 (AKA v.Next) client health feature. Kristina and I have enjoyed working together in various capacities for about 3 years so I’m sure we’ll give you a great presentation!&lt;/p&gt;  &lt;p&gt;ConfigMgr 2012 takes client health to a new level and so there’s plenty to talk about. All our research tells us that client health (no matter how you define it) is amongst the hottest topics in the computer management world, so I’m sure the conversation will be important to all of us.&lt;/p&gt;  &lt;p&gt;As you might expect, I’ll get into some of the details in this blog but the presentation will be a more cohesive story. We also want to talk with you about client health (or client management generally) throughout the week, so be sure to say Hi wherever you see either of us.&lt;/p&gt;  &lt;p&gt;p.s. BTW – I’ve been to MMS before, and spoken there as well. If you happen to be interested in that story, &lt;a title="Paul at MMS" href="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/Microsoft+Management+Summit/default.aspx" target="_blank"&gt;this link&lt;/a&gt; will fill you in on the details. Admittedly I’m proud of my contributions but I’m even more pleased to be seeing everyone again and to be able to engage in the conversations about how we can make computer management even better! (ok, I’ll say it: 14!…)&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=153555" width="1" height="1"&gt;</content><author><name>pthomsen</name><uri>http://myitforum.com/cs2/members/pthomsen.aspx</uri></author></entry><entry><title>Downgrading Unresponsive Clients via PSexec</title><link rel="alternate" type="text/html" href="http://myitforum.com/cs2/blogs/pthomsen/archive/2011/01/06/153438.aspx" /><id>http://myitforum.com/cs2/blogs/pthomsen/archive/2011/01/06/153438.aspx</id><published>2011-01-07T05:14:36Z</published><updated>2011-01-07T05:14:36Z</updated><content type="html">&lt;p&gt;Any “client health” team actually does many things other things as well, including client reach, client installation, client movement, and (occasionally) client deinstallation or downgrade. Recently I had to do some client downgrading and movement. You would think that’s easy enough, but as usual (at least in our large environment), there were some tricks. Hopefully the following details will save you some effort when you have to do something similar.&lt;/p&gt;  &lt;p&gt;This scenario should be rare – usually you can do many of these operations via simple software distribution. That was my first approach, but for whatever reason it didn’t work (I won’t bore you with the details). So if that fails and you have privileges on the machines, and the number of machines is reasonable, then a more direct approach may be best.&lt;/p&gt;  &lt;p&gt;First of all I adapted my main log analysis script to look for online clients that we had privileges on (more details on that in a future post, since it’s a generally useful tool – the core points are to parse a list, do some pinging for online status, and verify privileges). Then the script executes a batch file, which is where things get complex.&lt;/p&gt;  &lt;p&gt;You would normally hope to do everything remotely (from your console), but a crucial issue is that not all of the relevant clients will be online at the same time. So you’ll have to run the script multiple times against the same clients (since you don’t necessarily know which were successful the first time). You don’t want to downgrade the clients repeatedly, so you have to check their version to ensure they’re not the lower version (and thus don’t need to be downgraded). How do you check the client version remotely? – via WMI (either in a class or in the registry). But WMI remote access is commonly blocked by the firewall and so that probably won’t work. Thus you have to check client-side. That means two scripts – one to prepare the client and another to do the work, including the version check.&lt;/p&gt;  &lt;p&gt;So the first batch file (executed by the script mentioned above), does operations such as:&lt;/p&gt;  &lt;p&gt;   &lt;p&gt;&lt;font size="2" face="Courier New"&gt;set computer=%1%&lt;/font&gt;&lt;/p&gt; &lt;/p&gt;  &lt;p&gt;&lt;font size="2" face="Courier New"&gt;mkdir &lt;/font&gt;&lt;font size="2" face="Courier New"&gt;\\%computer%\c$\temp\ccmsetup_v4&lt;/font&gt;    &lt;br /&gt;&lt;font size="2" face="Courier New"&gt;mkdir &lt;/font&gt;&lt;font size="2" face="Courier New"&gt;\\%computer%\c$\temp\ccmsetup_v5&lt;/font&gt;    &lt;br /&gt;&lt;font size="2" face="Courier New"&gt;xcopy &lt;/font&gt;&lt;font size="2" face="Courier New"&gt;&amp;lt;source&amp;gt;\smsv4&lt;/font&gt;&amp;#160;&amp;#160; &lt;font size="2" face="Courier New"&gt;\\%computer%\c$\temp\ccmsetup_v4&lt;/font&gt;&lt;font size="2" face="Courier New"&gt; /s /y     &lt;br /&gt;xcopy &lt;/font&gt;&lt;font size="2" face="Courier New"&gt;&amp;lt;source&amp;gt;&lt;/font&gt;&lt;font size="2" face="Courier New"&gt;\smsv5&amp;#160; &lt;/font&gt;&lt;font size="2" face="Courier New"&gt;\\%computer%\c$\temp\ccmsetup_v5&lt;/font&gt;&lt;font size="2" face="Courier New"&gt; /s /y&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2" face="Courier New"&gt;copy &lt;/font&gt;&lt;font size="2" face="Courier New"&gt;&amp;lt;source&amp;gt;\RemoveSitecodeRegkeys.reg&lt;/font&gt;&lt;font size="2" face="Courier New"&gt; &lt;/font&gt;&lt;font size="2" face="Courier New"&gt;\\%computer%\c$\temp\ccmsetup_v4&lt;/font&gt;    &lt;br /&gt;&lt;font size="2" face="Courier New"&gt;copy &lt;/font&gt;&lt;font size="2" face="Courier New"&gt;&amp;lt;source&amp;gt;\klist_XP2003\klist.exe&lt;/font&gt;&lt;font size="2" face="Courier New"&gt;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;font size="2" face="Courier New"&gt;\\%computer%\c$\temp\ccmsetup_v4&lt;/font&gt;&lt;font size="2" face="Courier New"&gt; &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2" face="Courier New"&gt;copy &amp;lt;source&amp;gt;\regcheck.vbs&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;font size="2" face="Courier New"&gt;\\%computer%\c$\temp\ccmsetup_v4&lt;/font&gt;&lt;font size="2" face="Courier New"&gt;      &lt;br /&gt;copy &amp;lt;source&amp;gt;\remove_client_part2.bat&amp;#160;&amp;#160; &lt;/font&gt;&lt;font size="2" face="Courier New"&gt;\\%computer%\c$\temp\ccmsetup_v4&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2" face="Courier New"&gt;&amp;lt;source&amp;gt;\PsExec.exe &lt;/font&gt;&lt;font size="2" face="Courier New"&gt;\\%computer%&lt;/font&gt;&lt;font size="2" face="Courier New"&gt; cmd.exe /c c:\temp\ccmsetup_v4\remove_client_part2.bat     &lt;br /&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Hopefully you don’t need to use GPO-based site assignments, in which case you won’t need the .reg or klist files (e-mail me if you need those details). And I’m quite sure that klist.exe doesn’t work on XP, which is why I include a shutdown command below (a rare option that happened to be available and relevant in this scenario). An important point is that in my case our remote privileges account does not have ‘log on as a service’ (or similar) privileges. All I can do is copy files to the client and run psexec (and we’re glad to be able to do that). So we’re fairly limited in what we can do.&lt;/p&gt;  &lt;p&gt;The second batch file (executed on the client), does operations such as:&lt;/p&gt;  &lt;p&gt;&lt;font size="2" face="Courier New"&gt;cscript.exe //B c:\temp\ccmsetup_v4\regcheck.vbs      &lt;br /&gt;IF ERRORLEVEL 1 GOTO DONE&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2" face="Courier New"&gt;regedit /s c:\temp\ccmsetup_v4\RemoveSitecodeRegkeys.reg      &lt;br /&gt;c:\temp\ccmsetup_v4\klist.exe purge       &lt;br /&gt;c:\temp\ccmsetup_v5\ccmsetup.exe /uninstall       &lt;br /&gt;c:\temp\ccmsetup_v4\ccmsetup.exe SMSSITECODE=&amp;lt;sitecode&amp;gt; FSP=&amp;lt;FSP FQDN&amp;gt;CCMLOGMAXSIZE=100000 CCMENABLELOGGING=TRUE CCMLOGLEVEL=0 DISABLESITEOPT=TRUE DISABLECACHEOPT=TRUE CCMLOGMAXHISTORY=5 SMSCACHESIZE=10000       &lt;br /&gt;rem one more time, just in case (but it only helps temporarily on XP):       &lt;br /&gt;regedit /s c:\temp\ccmsetup_v4\RemoveSitecodeRegkeys.reg       &lt;br /&gt;rem we have to wait for the install to complete:       &lt;br /&gt;rem rmdir /s /q c:\temp\ccmsetup_v4       &lt;br /&gt;rmdir /s /q c:\temp\ccmsetup_v5       &lt;br /&gt;shutdown /r /t 0 /f&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2" face="Courier New"&gt;:DONE      &lt;br /&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;And to do that client version checking, you’ll need a simple VBscript (regcheck.vbs) such as:&lt;/p&gt;  &lt;p&gt;&lt;font size="2" face="Courier New"&gt;Set oShell = CreateObject(&amp;quot;WScript.Shell&amp;quot;)     &lt;br /&gt;version = oShell.RegRead( &amp;quot;HKLM\SOFTWARE\Microsoft\SMS\Mobile Client\ProductVersion&amp;quot;)      &lt;br /&gt;wscript.echo version      &lt;br /&gt;if version = &amp;quot;4.00.6487.2000&amp;quot; then      &lt;br /&gt;&amp;#160; result=2      &lt;br /&gt;else      &lt;br /&gt;&amp;#160; result=0      &lt;br /&gt;end if      &lt;br /&gt;wscript.echo &amp;quot;exiting with &amp;quot; &amp;amp; result      &lt;br /&gt;wscript.quit(result)&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;(The ERRORLEVEL behavior was a little non-intuitive to me but testing proved that this worked and I didn’t have time to argue with it.)&lt;/p&gt;  &lt;p&gt;Over time we got all the clients downgraded and moved back to where they should and all was good again. But the effort was not quite as trivial as we originally hoped.&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=153438" width="1" height="1"&gt;</content><author><name>pthomsen</name><uri>http://myitforum.com/cs2/members/pthomsen.aspx</uri></author><category term="client health" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/client+health/default.aspx" /><category term="client management" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/client+management/default.aspx" /></entry><entry><title>Checking Client Health for a Large List of Computer Names</title><link rel="alternate" type="text/html" href="http://myitforum.com/cs2/blogs/pthomsen/archive/2011/01/04/153413.aspx" /><id>http://myitforum.com/cs2/blogs/pthomsen/archive/2011/01/04/153413.aspx</id><published>2011-01-05T05:26:24Z</published><updated>2011-01-05T05:26:24Z</updated><content type="html">&lt;p&gt;One of my pet peeves is reports (of any sort) that are long lists of computers. But the reality is that many people use such reports. I’ve found that people like to take such lists, import them into Excel, and do their own analysis. I must admit that’s cool in that people are analyzing data and getting work done. (My own approach is to build reports that summarize data or to query directly and adjust the queries until I get the information I need). &lt;/p&gt;  &lt;p&gt;Once our internal customers have such lists of computers with suspicious client health issues they come to my team and ask us what’s going on with those computers. If the list of computers is reasonably small then you can use a simple “IN” clause such, as:&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;;color:blue;font-size:10pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-no-proof:yes;"&gt;select&lt;/span&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;;font-size:10pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-no-proof:yes;"&gt;&lt;font color="#000000"&gt; count(*) &lt;/font&gt;&lt;span style="color:blue;"&gt;from&lt;/span&gt;&lt;font color="#000000"&gt; v_R_System &lt;/font&gt;&lt;span style="color:blue;"&gt;where&lt;/span&gt;&lt;font color="#000000"&gt; active0=1 &lt;span style="color:gray;"&gt;and&lt;/span&gt; name0 &lt;span style="color:gray;"&gt;in&lt;/span&gt;&lt;/font&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:gray;"&gt;(&lt;/span&gt;&lt;span style="color:red;"&gt;&amp;#39;computer1&amp;#39;&lt;/span&gt;&lt;span style="color:gray;"&gt;,&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red;"&gt;&amp;#39;computer2&amp;#39;&lt;/span&gt;&lt;span style="color:gray;"&gt;,&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red;"&gt;&amp;#39;computer2&amp;#39;)&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;But what if the list is very long, as in thousands of clients or more? In that case you can import the computer names into a temp table and query against that. For example:&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;;color:blue;font-size:10pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-no-proof:yes;"&gt;CREATE TABLE&lt;/span&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;;font-size:10pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-no-proof:yes;"&gt;&lt;font color="#000000"&gt; #temp1&lt;/font&gt;&lt;span style="color:gray;"&gt;(&lt;/span&gt;&lt;font color="#000000"&gt; name &lt;/font&gt;&lt;span style="color:blue;"&gt;varchar&lt;/span&gt;&lt;span style="color:gray;"&gt;(&lt;/span&gt;&lt;font color="#000000"&gt;30&lt;/font&gt;&lt;span style="color:gray;"&gt;)&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:gray;"&gt;) &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;;color:gray;font-size:10pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-no-proof:yes;"&gt;&lt;/span&gt;       &lt;span style="font-family:&amp;#39;Courier New&amp;#39;;color:blue;font-size:10pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-no-proof:yes;"&gt;BULK&lt;/span&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;;font-size:10pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-no-proof:yes;"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:blue;"&gt;INSERT&lt;/span&gt;&lt;font color="#000000"&gt; #temp1 &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;;font-size:10pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;font color="#000000"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;FROM&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:red;"&gt;&amp;#39;C:\&amp;lt;path&amp;gt;\file.txt&amp;#39; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;;font-size:10pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;font color="#000000"&gt;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;WITH&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;;color:blue;font-size:10pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;;color:gray;font-size:10pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-no-proof:yes;"&gt;( &lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;;font-size:10pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;font color="#000000"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;FIELDTERMINATOR&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:gray;"&gt;=&lt;/span&gt;&lt;span style="color:red;"&gt;&amp;#39;,&amp;#39;&lt;/span&gt;&lt;span style="color:gray;"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;;font-size:10pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;font color="#000000"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;ROWTERMINATOR&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="color:gray;"&gt;=&lt;/span&gt;&lt;span style="color:red;"&gt;&amp;#39;\n&amp;#39; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;;font-size:10pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;font color="#000000"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/font&gt;&lt;/span&gt;&lt;span style="color:gray;"&gt;) &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&amp;#160;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;The trick is obviously to do a bulk import from the file with details as to how the file is formatted. A simple trick, once you know it. The only complication is that the file must be available to the SQL Server service on the server itself, as opposed to your console.&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&amp;#160;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;Then you can do queries such as:&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;;color:blue;font-size:10pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-no-proof:yes;"&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;;color:blue;font-size:10pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-no-proof:yes;"&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;;color:blue;font-size:10pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-no-proof:yes;"&gt;select&lt;/span&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;;font-size:10pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-no-proof:yes;"&gt;&lt;font color="#000000"&gt; count(*) &lt;/font&gt;&lt;span style="color:blue;"&gt;from&lt;/span&gt;&lt;font color="#000000"&gt; v_R_System &lt;/font&gt;&lt;span style="color:blue;"&gt;where&lt;/span&gt;&lt;font color="#000000"&gt; active0=1 &lt;span style="color:gray;"&gt;and&lt;/span&gt; name0 &lt;span style="color:gray;"&gt;in&lt;/span&gt;&lt;/font&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:gray;"&gt;(&lt;/span&gt;&lt;/span&gt;select&lt;/span&gt;&lt;span style="font-family:&amp;#39;Courier New&amp;#39;;font-size:10pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-no-proof:yes;"&gt;&lt;font color="#000000"&gt; name &lt;/font&gt;&lt;span style="color:blue;"&gt;from&lt;/span&gt;&lt;font color="#000000"&gt; #temp1&lt;/font&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:gray;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;So working with lists of computers is possible, no matter how long they are. The one caution I’ll offer is that if the list was produced significantly long before you do the investigation then be sure to go back to the original source. Otherwise too many of the clients will have changed states (for various reasons) and thus you won’t be able to draw any meaningful conclusions.&lt;/p&gt;  &lt;p&gt;p.s. If you have shorter lists of computers and they’re also in long lists (as opposed to being comma delimited with single quotes (why don’t people do that?…)), then you might like to use Notepad2.exe or a similar program to easily adjust the lines. In Notepad2 you can select the block (Ctrl-A) and then do a block “Modify Line” followed by a “Join Lines”. That only take seconds.&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=153413" width="1" height="1"&gt;</content><author><name>pthomsen</name><uri>http://myitforum.com/cs2/members/pthomsen.aspx</uri></author><category term="SQL queries" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/SQL+queries/default.aspx" /><category term="client health" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/client+health/default.aspx" /></entry><entry><title>Retrieving events from remote computers when WMI or RPC are not working</title><link rel="alternate" type="text/html" href="http://myitforum.com/cs2/blogs/pthomsen/archive/2010/12/06/153031.aspx" /><id>http://myitforum.com/cs2/blogs/pthomsen/archive/2010/12/06/153031.aspx</id><published>2010-12-07T05:50:49Z</published><updated>2010-12-07T05:50:49Z</updated><content type="html">&lt;p&gt;When you’re investigating computer management client health issues you may benefit from knowing the history of the computer. When was it last rebooted? Did it crash at that time? Did someone stop certain services? Retrieving such details from the event logs on the client via WMI is very easy and is well documented – just bing it (by which I mean, of course, that you should use your favorite search engine). But what if the client health issues are probably causing WMI to be broken, or even RPC generally. For example, when you try that method you get error messages such&lt;font color="#000000"&gt; &lt;/font&gt;&lt;font color="#333333"&gt;as “&lt;span style="font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#1f497d;font-size:11pt;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;mso-fareast-font-family:calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:en-us;mso-fareast-language:en-us;mso-bidi-language:ar-sa;"&gt;The remote server machine does not exist or is unavailable&lt;/span&gt;”.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Fortunately PSexec.exe can help (someday I’ll have to investigate what magical protocol enables PSexec). You will need administrator privileges on the remote computers, but assuming that, the following batch file should do the trick:&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="color:#1f497d;mso-ascii-font-family:calibri;mso-ascii-theme-font:minor-latin;mso-hansi-font-family:calibri;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000" size="2"&gt;copy \\&amp;lt;server&amp;gt;\&amp;lt;share&amp;gt;\EventVwr_query.xml&amp;#160;&amp;#160; \\&amp;lt;client&amp;gt;\c$\windows\temp&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="color:#1f497d;mso-ascii-font-family:calibri;mso-ascii-theme-font:minor-latin;mso-hansi-font-family:calibri;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;&lt;font face="Courier New"&gt;&lt;font color="#000000"&gt;&lt;font size="2"&gt;&amp;lt;path&amp;gt;\psexec.exe \\&amp;lt;client&lt;/font&gt;&lt;font size="2"&gt;&amp;gt;&amp;#160; cmd.exe /q /c &amp;quot;wevtutil query-events /structuredquery:true /f:Text c:\windows\temp\EventVwr_query.xml&lt;span style="mso-spacerun:yes;"&gt;&amp;#160; &lt;/span&gt;&amp;gt; c:\windows\temp\temp.txt&amp;quot;                     &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="color:#1f497d;mso-ascii-font-family:calibri;mso-ascii-theme-font:minor-latin;mso-hansi-font-family:calibri;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;&lt;font color="#000000"&gt;erase \\&amp;lt;client&amp;gt;\c$\windows\temp\EventVwr_query.xml                     &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="color:#1f497d;mso-ascii-font-family:calibri;mso-ascii-theme-font:minor-latin;mso-hansi-font-family:calibri;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;&lt;font color="#000000"&gt;type \\&amp;lt;client&amp;gt;\c$\windows\temp\temp.txt                     &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;   &lt;p&gt;So it copies an event query file to the client, uses wevtutil to run it (in the system context), removes the query file, and uses the output (which you should also delete when you’re done).&lt;/p&gt;    &lt;p&gt;A key question is: how do you create the query file? I couldn’t find any documentation on how to do it manually but it’s easy to do interactively. Just start Event Viewer on any computer as you normally would, right-mouseclick, and create a custom view (which really means to create a query). Specify your options such as which Windows log, the source (such as WMI), event IDs, or other details. Now switch to the XML tab of that dialog box and copy the XML code you will see there. Paste it into the “EventVwr_query.xml” file and you’re ready to go.&lt;/p&gt;    &lt;p&gt;p.s. In my case I wrap the above with a vbscript in order to inspect the event history of many clients, and that includes parsing the output file. I look forward to sharing more of those details in future posts.&lt;/p&gt;&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=153031" width="1" height="1"&gt;</content><author><name>pthomsen</name><uri>http://myitforum.com/cs2/members/pthomsen.aspx</uri></author><category term="computer management" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/computer+management/default.aspx" /><category term="client health" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/client+health/default.aspx" /></entry><entry><title>Checking which OU a computer is in (or the expected domain)</title><link rel="alternate" type="text/html" href="http://myitforum.com/cs2/blogs/pthomsen/archive/2010/11/22/152767.aspx" /><id>http://myitforum.com/cs2/blogs/pthomsen/archive/2010/11/22/152767.aspx</id><published>2010-11-23T05:33:42Z</published><updated>2010-11-23T05:33:42Z</updated><content type="html">&lt;p&gt;If you have a complex computer environment (typical of large companies, but true elsewhere I’m sure), then you probably have multiple Active Directory Organizational Units (OUs). If you have multiple ConfigMgr hierarchies, you may intend that certain clients go into certain OUs, each corresponding to the relevant OU (and then apply GPOs to get the clients into the right hierarchies). Or maybe clients end up in the wrong OUs by accident. In such cases client health problems could boil down to confirming that computers are in the right OU. Or if they’re not in any OU of the intended domain then you have another problem, though with similar effect. Thus checking the OU of a computer, or bunch of computers, can often help to you understand why you’re missing expected clients.&lt;/p&gt;  &lt;p&gt;So how do you check the OU of the computer(s)? There’s plenty of ways, including scripts (amongst my favorite), but sometimes a command line solution is the best bet. It’s quick and easy. In that case, you might create a batch file to run the following command, taking the computer name (or computer name pattern, as here) as a parameter.&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt;mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;" class="MsoNormal"&gt;&lt;span style="color:#1f497d;"&gt;&lt;font face="Calibri"&gt;ldifde -f computers.ldf –s &lt;/font&gt;&lt;a href="http://northamerica.corp.microsoft.com/"&gt;&lt;font color="#0000ff" face="Calibri"&gt;&amp;lt;domain.company.com&lt;/font&gt;&lt;/a&gt;&lt;font face="Calibri"&gt;&amp;gt; -d &amp;quot;dc=domain,dc=company,dc=com&amp;quot; -r &amp;quot;(&amp;amp;(objectCategory=computer)(cn=&amp;lt;computer_name_pattern&amp;gt;*))&amp;quot; -l cn,ou&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;You won’t need the “-s” parameter if the “-d” domain is the same as the one that the computer you’re running the command on is joined to. The CN can be a specific computer name or a pattern (with “*” for the wildcard), though the command is much faster on a large domain where you know the first part of the computer name at least.&lt;/p&gt;  &lt;p&gt;LDIFDE has plenty of articles on the internet so it’s easy to find examples for similar problems, or the details on how to figure it out for yourself. LDIFDE is available on domain controllers, but you can also install an ‘AD lite’ on any Windows Server 2008 R2 server (and others?) by adding the “Active Directory Lightweight Directory Services” role (which doesn’t make it into a domain controller). Or you can grab the relevant files and use them on Windows 7 (I did that long ago, and thus forget the details).&lt;/p&gt;  &lt;p&gt;p.s. Sorry to my Facebook friends who would rather not be spammed on such topics. I’m trying to figure out how to disconnect my blog from Facebook (it got linked long ago).&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=152767" width="1" height="1"&gt;</content><author><name>pthomsen</name><uri>http://myitforum.com/cs2/members/pthomsen.aspx</uri></author><category term="client reach" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/client+reach/default.aspx" /><category term="client coverage" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/client+coverage/default.aspx" /><category term="client health" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/client+health/default.aspx" /></entry><entry><title>What does the ConfigMgr 2012 client health evaluation “result” code mean?</title><link rel="alternate" type="text/html" href="http://myitforum.com/cs2/blogs/pthomsen/archive/2010/11/17/152688.aspx" /><id>http://myitforum.com/cs2/blogs/pthomsen/archive/2010/11/17/152688.aspx</id><published>2010-11-18T04:30:32Z</published><updated>2010-11-18T04:30:32Z</updated><content type="html">&lt;p&gt;I hope that those of you evaluating/beta testing ConfigMgr 2012 (previously known as v.Next) are checking out the wonderful client health additions. I’ll get into more details on those soon but for now one issue you may encounter is that when you’re looking at the ccmeval.exe results (in the v_CH_EvalResults view) you’ll find that the “Result” column is numeric. That’s fine but what do those numbers mean? There’s no lookup table (at least not yet), so all you can do is guess.&lt;/p&gt;  &lt;p&gt;My research suggests the following values, which you can easily add to your queries as I’ve done in a CASE clause. The final terminology will likely be different but you get the idea (I hope).&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt 0.25in;tab-stops:.25in 48.0pt 78.0pt 1.5in 138.0pt 168.0pt 2.75in 228.0pt 258.0pt 4.0in 318.0pt 348.0pt 5.25in 408.0pt 438.0pt 6.5in 498.0pt 528.0pt 7.75in 588.0pt 618.0pt 9.0in 678.0pt 708.0pt 10.25in 768.0pt 798.0pt 11.5in 858.0pt 888.0pt 12.75in 948.0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;MS Shell Dlg&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:7.5pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font color="#000000"&gt;select healthCheckDescription,             &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt 0.25in;tab-stops:.25in 48.0pt 78.0pt 1.5in 138.0pt 168.0pt 2.75in 228.0pt 258.0pt 4.0in 318.0pt 348.0pt 5.25in 408.0pt 438.0pt 6.5in 498.0pt 528.0pt 7.75in 588.0pt 618.0pt 9.0in 678.0pt 708.0pt 10.25in 768.0pt 798.0pt 11.5in 858.0pt 888.0pt 12.75in 948.0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;MS Shell Dlg&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:7.5pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font color="#000000"&gt;case Result            &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt 0.25in;tab-stops:.25in 48.0pt 78.0pt 1.5in 138.0pt 168.0pt 2.75in 228.0pt 258.0pt 4.0in 318.0pt 348.0pt 5.25in 408.0pt 438.0pt 6.5in 498.0pt 528.0pt 7.75in 588.0pt 618.0pt 9.0in 678.0pt 708.0pt 10.25in 768.0pt 798.0pt 11.5in 858.0pt 888.0pt 12.75in 948.0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;MS Shell Dlg&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:7.5pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font color="#000000"&gt;when 1 then &amp;#39;TBD&amp;#39;            &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt 0.25in;tab-stops:.25in 48.0pt 78.0pt 1.5in 138.0pt 168.0pt 2.75in 228.0pt 258.0pt 4.0in 318.0pt 348.0pt 5.25in 408.0pt 438.0pt 6.5in 498.0pt 528.0pt 7.75in 588.0pt 618.0pt 9.0in 678.0pt 708.0pt 10.25in 768.0pt 798.0pt 11.5in 858.0pt 888.0pt 12.75in 948.0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;MS Shell Dlg&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:7.5pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font color="#000000"&gt;when 2 then &amp;#39;n/a&amp;#39;&lt;span style="mso-spacerun:yes;"&gt;&amp;#160;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt 0.25in;tab-stops:.25in 48.0pt 78.0pt 1.5in 138.0pt 168.0pt 2.75in 228.0pt 258.0pt 4.0in 318.0pt 348.0pt 5.25in 408.0pt 438.0pt 6.5in 498.0pt 528.0pt 7.75in 588.0pt 618.0pt 9.0in 678.0pt 708.0pt 10.25in 768.0pt 798.0pt 11.5in 858.0pt 888.0pt 12.75in 948.0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;MS Shell Dlg&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:7.5pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font color="#000000"&gt;when 3 then &amp;#39;test failed&amp;#39;&lt;span style="mso-spacerun:yes;"&gt;&amp;#160; &lt;/span&gt;-- and thus fix not tried and/or fix not available             &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt 0.25in;tab-stops:.25in 48.0pt 78.0pt 1.5in 138.0pt 168.0pt 2.75in 228.0pt 258.0pt 4.0in 318.0pt 348.0pt 5.25in 408.0pt 438.0pt 6.5in 498.0pt 528.0pt 7.75in 588.0pt 618.0pt 9.0in 678.0pt 708.0pt 10.25in 768.0pt 798.0pt 11.5in 858.0pt 888.0pt 12.75in 948.0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;MS Shell Dlg&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:7.5pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font color="#000000"&gt;when 4 then &amp;#39;fix failed&amp;#39;&amp;#160; -- and the test must have failed too, in order for the fix to be tried            &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt 0.25in;tab-stops:.25in 48.0pt 78.0pt 1.5in 138.0pt 168.0pt 2.75in 228.0pt 258.0pt 4.0in 318.0pt 348.0pt 5.25in 408.0pt 438.0pt 6.5in 498.0pt 528.0pt 7.75in 588.0pt 618.0pt 9.0in 678.0pt 708.0pt 10.25in 768.0pt 798.0pt 11.5in 858.0pt 888.0pt 12.75in 948.0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;MS Shell Dlg&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:7.5pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font color="#000000"&gt;when 5 then &amp;#39;n/a - dependent test failed&amp;#39;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt 0.25in;tab-stops:.25in 48.0pt 78.0pt 1.5in 138.0pt 168.0pt 2.75in 228.0pt 258.0pt 4.0in 318.0pt 348.0pt 5.25in 408.0pt 438.0pt 6.5in 498.0pt 528.0pt 7.75in 588.0pt 618.0pt 9.0in 678.0pt 708.0pt 10.25in 768.0pt 798.0pt 11.5in 858.0pt 888.0pt 12.75in 948.0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;MS Shell Dlg&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:7.5pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font color="#000000"&gt;when 6 then &amp;#39;fix worked&amp;#39;&amp;#160; -- so the test must have failed            &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt 0.25in;tab-stops:.25in 48.0pt 78.0pt 1.5in 138.0pt 168.0pt 2.75in 228.0pt 258.0pt 4.0in 318.0pt 348.0pt 5.25in 408.0pt 438.0pt 6.5in 498.0pt 528.0pt 7.75in 588.0pt 618.0pt 9.0in 678.0pt 708.0pt 10.25in 768.0pt 798.0pt 11.5in 858.0pt 888.0pt 12.75in 948.0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;MS Shell Dlg&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:7.5pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font color="#000000"&gt;when 7 then &amp;#39;all tests passed&amp;#39;            &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt 0.25in;tab-stops:.25in 48.0pt 78.0pt 1.5in 138.0pt 168.0pt 2.75in 228.0pt 258.0pt 4.0in 318.0pt 348.0pt 5.25in 408.0pt 438.0pt 6.5in 498.0pt 528.0pt 7.75in 588.0pt 618.0pt 9.0in 678.0pt 708.0pt 10.25in 768.0pt 798.0pt 11.5in 858.0pt 888.0pt 12.75in 948.0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;MS Shell Dlg&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:7.5pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font color="#000000"&gt;else &amp;#39;unexpected result&amp;#39;            &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt 0.25in;tab-stops:.25in 48.0pt 78.0pt 1.5in 138.0pt 168.0pt 2.75in 228.0pt 258.0pt 4.0in 318.0pt 348.0pt 5.25in 408.0pt 438.0pt 6.5in 498.0pt 528.0pt 7.75in 588.0pt 618.0pt 9.0in 678.0pt 708.0pt 10.25in 768.0pt 798.0pt 11.5in 858.0pt 888.0pt 12.75in 948.0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;MS Shell Dlg&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:7.5pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font color="#000000"&gt;end &amp;#39;result&amp;#39;, count(distinct netbiosname) &amp;#39;clients&amp;#39; from v_CH_EvalResults            &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt 0.25in;tab-stops:.25in 48.0pt 78.0pt 1.5in 138.0pt 168.0pt 2.75in 228.0pt 258.0pt 4.0in 318.0pt 348.0pt 5.25in 408.0pt 438.0pt 6.5in 498.0pt 528.0pt 7.75in 588.0pt 618.0pt 9.0in 678.0pt 708.0pt 10.25in 768.0pt 798.0pt 11.5in 858.0pt 888.0pt 12.75in 948.0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;MS Shell Dlg&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:7.5pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font color="#000000"&gt;group by healthCheckDescription, Result            &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin:0in 0in 0pt 0.25in;tab-stops:.25in 48.0pt 78.0pt 1.5in 138.0pt 168.0pt 2.75in 228.0pt 258.0pt 4.0in 318.0pt 348.0pt 5.25in 408.0pt 438.0pt 6.5in 498.0pt 528.0pt 7.75in 588.0pt 618.0pt 9.0in 678.0pt 708.0pt 10.25in 768.0pt 798.0pt 11.5in 858.0pt 888.0pt 12.75in 948.0pt;mso-layout-grid-align:none;" class="MsoNormal"&gt;&lt;span style="font-family:&amp;#39;MS Shell Dlg&amp;#39;,&amp;#39;sans-serif&amp;#39;;font-size:7.5pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;font color="#000000"&gt;order by count(*) desc            &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=152688" width="1" height="1"&gt;</content><author><name>pthomsen</name><uri>http://myitforum.com/cs2/members/pthomsen.aspx</uri></author><category term="client health" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/client+health/default.aspx" /><category term="ConfigMgr 2012" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/ConfigMgr+2012/default.aspx" /><category term="ConfigMgr v.Next" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/ConfigMgr+v.Next/default.aspx" /></entry><entry><title>Easy scripting of log file parsing</title><link rel="alternate" type="text/html" href="http://myitforum.com/cs2/blogs/pthomsen/archive/2010/11/15/152628.aspx" /><id>http://myitforum.com/cs2/blogs/pthomsen/archive/2010/11/15/152628.aspx</id><published>2010-11-16T03:29:00Z</published><updated>2010-11-16T03:29:00Z</updated><content type="html">&lt;p&gt;One of my more common needs is to analyze log files (which are really just text files)&amp;nbsp; for recurring issues. If lots of clients have the issue, or some clients have the issue a lot, then it&amp;#39;s worth pursuing (if it&amp;#39;s rare then it&amp;#39;s just &amp;#39;one of those things&amp;#39;). So how do we do such analysis? We could spend a lot of time reading such files, or delegate that work&amp;nbsp;to someone, but the more practical solution is to get a computer to do it - it&amp;#39;s actually quite easy.&lt;/p&gt;
&lt;p&gt;So how do we do that? The following code gives a starting point. Basically you open the file, split it into lines, find the lines you&amp;#39;re interested in, and then do something with the parts that are useful. The code doesn&amp;#39;t do all of that but it does the core bits. Finding the interesting lines and interesting parts are left to you (think &amp;quot;instr&amp;quot; and &amp;quot;mid&amp;quot; functions especially).&lt;/p&gt;
&lt;p&gt;set fso = CreateObject(&amp;quot;Scripting.FileSystemObject&amp;quot;)&lt;br /&gt;set logfile = fso.opentextfile( filename )&lt;br /&gt;content = logfile.readall&lt;br /&gt;logfile.close&lt;/p&gt;
&lt;p&gt;log_lines = split( content, vbCRLF )&lt;br /&gt;for j=0 to ubound(log_lines)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; values = split( log_lines(j), “,” )&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39; it&amp;#39;s possible your files are not comma delimited...&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subroutine values(0), values(1)&amp;nbsp; &amp;nbsp;&amp;#39;do something with the data&lt;br /&gt;next&lt;br /&gt;&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=152628" width="1" height="1"&gt;</content><author><name>pthomsen</name><uri>http://myitforum.com/cs2/members/pthomsen.aspx</uri></author><category term="scripts" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/scripts/default.aspx" /><category term="vbscript" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/vbscript/default.aspx" /><category term="logs" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/logs/default.aspx" /></entry><entry><title>ConfigMgr v.Next site settings query</title><link rel="alternate" type="text/html" href="http://myitforum.com/cs2/blogs/pthomsen/archive/2010/11/11/152568.aspx" /><id>http://myitforum.com/cs2/blogs/pthomsen/archive/2010/11/11/152568.aspx</id><published>2010-11-12T04:24:00Z</published><updated>2010-11-12T04:24:00Z</updated><content type="html">&lt;p&gt;ConfigMgr v.Next has a lot of wonderful improvements, and I look forward to talking about my favorites over time. But often the small ones are very delightful, and I’m pleased to share my thoughts on those as well. One of them is that the ConfigMgr v.Next site settings are entirely stored in the database, and thus can be queried. Historically they’ve been stored in the site control file, and thus required manual or tricky file parsing to read. In ConfigMgr 2007, if not earlier, there was a database representation of those values but that took a lot of parsing so that wasn’t easy either. In v.Next they’re only in the database and are largely already parsed for you.&lt;/p&gt;
&lt;p&gt;The following query should make them reasonably easy to read if you’re looking for client-specific settings. There’s about 174 such settings, so that’s a good start. But if you want other settings then you’ll need to do variations on this query to get them (and I hope to cover them in future blog postings).&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;COLOR:blue;FONT-SIZE:9pt;"&gt;select&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;FONT-SIZE:9pt;"&gt;&lt;font color="#000000"&gt; ClientComponentName &lt;/font&gt;&lt;span style="COLOR:red;"&gt;&amp;#39;Agent&amp;#39;&lt;/span&gt;&lt;span style="COLOR:gray;"&gt;,&lt;/span&gt;&lt;font color="#000000"&gt; Flags ‘Enabled’, Name &lt;/font&gt;&lt;span style="COLOR:red;"&gt;&amp;#39;Property&amp;#39;&lt;/span&gt;&lt;span style="COLOR:gray;"&gt;, &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;COLOR:blue;FONT-SIZE:9pt;"&gt;case&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;FONT-SIZE:9pt;"&gt;&lt;font color="#000000"&gt; Value1 &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;COLOR:blue;FONT-SIZE:9pt;"&gt;when&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;FONT-SIZE:9pt;"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="COLOR:red;"&gt;&amp;#39;REG_SZ&amp;#39;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="COLOR:blue;"&gt;then&lt;/span&gt;&lt;font color="#000000"&gt; Value2 &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;COLOR:blue;FONT-SIZE:9pt;"&gt;when&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;FONT-SIZE:9pt;"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="COLOR:red;"&gt;&amp;#39;REG_DWORD&amp;#39;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="COLOR:blue;"&gt;then&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="COLOR:fuchsia;"&gt;cast&lt;/span&gt;&lt;span style="COLOR:gray;"&gt;(&lt;/span&gt;&lt;font color="#000000"&gt;Value3 &lt;/font&gt;&lt;span style="COLOR:blue;"&gt;as&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="COLOR:blue;"&gt;varchar&lt;/span&gt;&lt;span style="COLOR:gray;"&gt;(&lt;/span&gt;&lt;font color="#000000"&gt;20&lt;/font&gt;&lt;span style="COLOR:gray;"&gt;)) &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;COLOR:blue;FONT-SIZE:9pt;"&gt;when&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;FONT-SIZE:9pt;"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="COLOR:red;"&gt;&amp;#39;&amp;#39;&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="COLOR:blue;"&gt;then&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="COLOR:fuchsia;"&gt;cast&lt;/span&gt;&lt;span style="COLOR:gray;"&gt;(&lt;/span&gt;&lt;font color="#000000"&gt;Value3 &lt;/font&gt;&lt;span style="COLOR:blue;"&gt;as&lt;/span&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="COLOR:blue;"&gt;varchar&lt;/span&gt;&lt;span style="COLOR:gray;"&gt;(&lt;/span&gt;&lt;font color="#000000"&gt;20&lt;/font&gt;&lt;span style="COLOR:gray;"&gt;)) &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;COLOR:blue;FONT-SIZE:9pt;"&gt;else&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;FONT-SIZE:9pt;"&gt;&lt;font color="#000000"&gt; Value1 &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;COLOR:blue;FONT-SIZE:9pt;"&gt;end&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;FONT-SIZE:9pt;"&gt;&lt;font color="#000000"&gt; &lt;/font&gt;&lt;span style="COLOR:red;"&gt;&amp;#39;Value&amp;#39; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;COLOR:blue;FONT-SIZE:9pt;"&gt;from&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Courier New&amp;#39;;FONT-SIZE:9pt;"&gt;&lt;font color="#000000"&gt; dbo&lt;/font&gt;&lt;span style="COLOR:gray;"&gt;.&lt;/span&gt;&lt;font color="#000000"&gt;SC_ClientComponent agents &lt;/font&gt;&lt;span style="COLOR:gray;"&gt;join&lt;/span&gt;&lt;font color="#000000"&gt; SC_ClientComponent_Property props &lt;/font&gt;&lt;span style="COLOR:blue;"&gt;on&lt;/span&gt;&lt;font color="#000000"&gt; agents&lt;/font&gt;&lt;span style="COLOR:gray;"&gt;.&lt;/span&gt;&lt;font color="#000000"&gt;ID&lt;/font&gt;&lt;span style="COLOR:gray;"&gt;=&lt;/span&gt;&lt;font color="#000000"&gt;props&lt;/font&gt;&lt;span style="COLOR:gray;"&gt;.&lt;/span&gt;&lt;font color="#000000"&gt;ClientComponentID &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You’ll see lots of details related to software inventory, hardware inventory, software metering, software updates, etc. Very useful stuff. For example, you can confirm all your sites are consistently configured. You can confirm your predecessor configured things reasonably. Stuff like that.&lt;/p&gt;
&lt;p&gt;The trickiest problem you’ll soon notice is that properties like agent schedules are stored in WMI tokens, which mean a lot to WMI but not so much to you and I. I don’t know of a SQL mechanism to translate them, so that’s when I revert to vbscript. The following scriptlet gives you an idea of how to do that. Just substitute the relevant values.&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Cordia New"&gt;server=&amp;quot;&amp;lt;server&amp;gt;&amp;quot; &lt;br /&gt;sitecode=”&amp;lt;sitecode&amp;gt;&amp;quot; &lt;br /&gt;Set loc = CreateObject(&amp;quot;WbemScripting.SWbemLocator&amp;quot;) &lt;br /&gt;Set WbemServices = loc.ConnectServer(server, &amp;quot;root\sms\site_&amp;quot; &amp;amp; sitecode)&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Cordia New"&gt;Set clsScheduleMethods = WbemServices.Get(&amp;quot;SMS_ScheduleMethods&amp;quot;) &lt;br /&gt;&amp;nbsp; &lt;br /&gt;Interval = &amp;quot;0001200000100018&amp;quot;&amp;nbsp; &amp;#39;insert your token here&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Cordia New"&gt;clsScheduleMethods.ReadFromString Interval, avTokens &lt;br /&gt;For each vToken In avTokens &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wscript.echo vToken.GetObjectText_ &lt;br /&gt;Next &lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=152568" width="1" height="1"&gt;</content><author><name>pthomsen</name><uri>http://myitforum.com/cs2/members/pthomsen.aspx</uri></author><category term="SQL queries" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/SQL+queries/default.aspx" /><category term="v.Next" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/v.Next/default.aspx" /><category term="ConfigMgr 2012" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/ConfigMgr+2012/default.aspx" /></entry><entry><title>Power Management Activity Reports</title><link rel="alternate" type="text/html" href="http://myitforum.com/cs2/blogs/pthomsen/archive/2010/11/08/152444.aspx" /><id>http://myitforum.com/cs2/blogs/pthomsen/archive/2010/11/08/152444.aspx</id><published>2010-11-09T05:59:00Z</published><updated>2010-11-09T05:59:00Z</updated><content type="html">&lt;p&gt;Some coworkers of mine (Partha Chandran, Chandra Kothandaraman, and Jitendra Kalyankar)&amp;nbsp;recently released a &lt;a href="http://technet.microsoft.com/en-us/library/gg398008.aspx" target="_blank"&gt;whitepaper on power management&lt;/a&gt; which we hope you will find useful. In it they include the following report which I think is especially informative:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://myitforum.com/cs2/blogs/pthomsen/image_0646C136.png"&gt;&lt;img style="BACKGROUND-IMAGE:none;BORDER-RIGHT-WIDTH:0px;PADDING-LEFT:0px;PADDING-RIGHT:0px;DISPLAY:inline;BORDER-TOP-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;BORDER-LEFT-WIDTH:0px;PADDING-TOP:0px;" title="image" border="0" alt="image" src="http://myitforum.com/cs2/blogs/pthomsen/image_thumb_7894052D.png" width="302" height="307" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A bit of trivia is that during the last couple of years one of my biggest projects was a power management solution evaluation. I didn’t contribute to the ConfigMgr R3 power management solution but I did help to look for solutions that would help us to save power dollars and CO2 like any other company. Early on I came up with the idea of graphing the power consumption data over the average day, as shown in this report. I hadn’t seen that done by anyone before, so I may well have ‘invented’ that idea. If so it is one of my favorite contributions to the computer management field.&lt;/p&gt;
&lt;p&gt;My coworkers explain some of the benefits of this report in the whitepaper but there’s a few points I think are worth making:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;if maximizing power savings was your only goal then the ideal scenario would be for the computer and monitor lines to be flat along the X axis – i.e. no power consumption. Of course that’s not true because computers do provide considerable value when used properly so the trick is to find the right curve&lt;/li&gt;
&lt;li&gt;most computers are not shared amongst shift workers so the computer power consumption should reflect people’s work patterns. If they work 8 hours a day, 5 days per week, then the curve should reflect that if you’re only looking at workdays&lt;/li&gt;
&lt;li&gt;most computers are used by users, as opposed to being used by ‘service’ programs such as server applications, test software, ‘build’ software or other uses. Therefore when the user is not present the computer should be ‘off’.&lt;/li&gt;
&lt;li&gt;users almost always use their computers via the monitor, so if the monitor is on then it’s reasonable for the computer to be on. If the monitor is off then there’s rarely reason for the computer to be on.&lt;/li&gt;
&lt;li&gt;users generally work 9 to 5 (more or less) so late night hours (or weekends) should mean the monitor is off and thus the computer is off. &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;So in an ideal world:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;both the monitor consumption and computer consumption would be almost flat along the X axis except from 9AM to 5PM (or whatever hours your workers work, and assuming you’re using local time)&lt;/li&gt;
&lt;li&gt;any space between the monitor consumption and the computer consumption lines are wasted opportunities for savings (i.e. the user is not using the computer and yet it’s on)&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;exceptions can be made for a middle-of-the-night maintenance window and for an early morning get-the-computer-ready-for-the-user early power-up&lt;/li&gt;
&lt;li&gt;exceptions can also be made for the fact that complex computers (as opposed to simple devices) do require some time to get everything up to speed and thus it’s reasonable that during work hours when users are often away from their computers for short periods that the computer stay powered up. The lunch hour may be the only reasonable time during which power consumption could commonly go down&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;latency between the monitor line going down and the computer line going down reflects your power management policies. During the work day it’s reasonable to have a large latency because users come and go to meetings, lunch, hallway conversations, etc., but after hours that’s less likely&lt;/li&gt;
&lt;li&gt;exceptions can also be made for special computers that are used for automated testing, various server functions, remote access by power users, etc., so those two lines in reality won’t quite converge and are very unlikely to ever get quite to the X axis.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;From the above report we can conclude:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;power management did save money in that both lines generally did move closer to the X axis and also moved closer to each other&lt;/li&gt;
&lt;li&gt;there’s a lot of opportunity for further power savings but we have to remember that this is Microsoft which is by its nature a company of power users who often use their computers more like servers and really do access them remotely after hours. How much more savings can be made is difficult to judge in this case.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Even if you don’t impose power management on your users, I believe that doing such a report on your machines will be quite informative.&lt;/p&gt;
&lt;p&gt;p.s. Note that that this post applies to any power management solution that provides data-by-hour details, directly or otherwise.&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=152444" width="1" height="1"&gt;</content><author><name>pthomsen</name><uri>http://myitforum.com/cs2/members/pthomsen.aspx</uri></author><category term="power management" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/power+management/default.aspx" /><category term="ConfigMgr 2007 R3" scheme="http://myitforum.com/cs2/blogs/pthomsen/archive/tags/ConfigMgr+2007+R3/default.aspx" /></entry></feed>
