[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 166
  • Last Modified:

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
0
jskfan
Asked:
jskfan
  • 2
  • 2
1 Solution
 
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).
0
 
jskfanAuthor Commented:
what 's the query to run in order to target specific OS ?
0
 
Vitor MontalvãoMSSQL Senior EngineerCommented:
In SCOM Management Console, if you go to Authoring / Groups you can filter by OS version groups.
Capture.PNG
0
 
jskfanAuthor Commented:
I will get back to SCCM Lab later
Thanks
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now