Create SCOM2012 Groups by OS versions.

In SCOM 2012, I do not see any way to create computer groups based on OS version.
The work around that I might think of is creating attributes then create groups based on those attributes.

SO I went ahead and created an attribute and selected WMI query as Discovery type, then typed the following query :
select * from Win32_OperatingSystem WHERE Version like “6.3%” AND ProductType=”3″
Since I have windows server 2012 R2 standard edition.

in Property name I just typed "handle", I am not sure if that's important.

In WMI namespace I typed:  root\cimv2

After creating the attribute, then I created a group, I select windows computer_extended as class, and under Property drop down arrow I selected the name of the attribute I previously created, under operator I select greater than or equal to  and under value I typed 1

However when I try to view members of the group, it shows  no members there
I have also tried under operator I selected Matches Wildcard and under value I typed ?

Any help will be very much appreciated.

Thank you
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Vitor MontalvãoMSSQL Senior EngineerCommented:
You should be able to create Groups in Authoring tab in Management Console.
The wizard allows you to add explicitly or dynamically group members by filter (Windows Operating System in your case).
jskfanAuthor Commented:
what 's the query to run in order to target specific OS ?
Vitor MontalvãoMSSQL Senior EngineerCommented:
In SCOM Management Console, if you go to Authoring / Groups you can filter by OS version groups.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jskfanAuthor Commented:
I will get back to SCCM Lab later
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Applications

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.