How to prevent SCCM scan from updating Server CIs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2017 06:26 AM
Hi,
Currently when I run SCCM discovery it is updating some of the server CIs, I want my SCCM scan to update only the EUC. Could anyone provide your expertise on how to achieve this.
Thanks,
Saravanakumar S
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2017 06:33 AM
Saravanakumar: There are a couple of different ways to achieve this:
1) In the transform map SCCM 2012 v2 Computer Identity there is a function to determine class - here you can add an ignore statement:
function determineClass() {
// Determine the class of the target CI
if (source.u_systemrole == "Workstation")
target.sys_class_name = "cmdb_ci_computer";
else
//New Statement
ignore = true;
//Orig OOB Statement
// target.sys_class_name = "cmdb_ci_win_server";
}
2) The other possibility is to look at the sql query and in the computer identity data source add a where condition for systemrole = "Workstation"
Hope that helps and mark correct if it does.
Thanks,
Akash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2017 06:36 AM
Depending on the version of ServiceNow you're running, and also depending on if you're classifying workstations differently than servers (i.e. they're stored in different cmdb_ci tables), you can create reconciliation definitions to only allow updates from specific sources (see link below).