UPDATE: The correct Collection Query for Linux and UNIX Systems in SC 2012 Configuration Manager

I found (and reported) a documentation bug related to System Center 2012 Configuration Manager SP1 for which I thought I would share the correction.

The Issue

At this URL on the MS TechNet site (http://technet.microsoft.com/en-us/library/gg712323) which is a page titled “How to Create Queries in Configuration Manager”, you will find the following  query for creating a collection of Linux and UNIX systems. The ‘Devices of a Specific Type’ section contains a list of DeviceIDs with corresponding values for different types

Select SMS_R_System.ClientEdition from SMS_R_System where SMS_R_System.ClientEdition = 11

The problem is, the numbers that correct numbers corresponding to device IDs changed along the way and the documentation didn’t get an update.

The Workaround

Using the Configuration Manager UI to build my dynamic collection, I found that the correct ClientEdition for Linux and UNIX is actually 13.

So, if you change your collection query to:

Select SMS_R_System.ClientEdition from SMS_R_System where SMS_R_System.ClientEdition = 13

or, select System.Resource.Agent.Edition is equal to 13 on the criteria tab of the New Collection wizard, you are all set!


Additional Resources

If you’re working with Linux and UNIX in System Center these days, have a look at this cross-platform runbook for System Center 2012 Orchestrator!

How to restart a Linux Service (Daemon) with System Center 2012 Orchestrator

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.