- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2024 10:21 AM
Client is requesting a custom field that is boolean reflecting whether a device on network is currently running Active Directory. I realize ServiceNow already tracks this via "Installed Software" or "Running Processes"
My thought is to create a WMI probe with a script that returns true if ADDS is present. I also see that there is a possibility of adding "On Classification Script" that could possibly do the same thing and may be simpler once a windows device has been classified. However, I am unsure of how this would be able to feed into the custom attribute or if I can use the existing information in Installed Software or Running Processes.
Any help would be appreciated.
Solved! Go to Solution.
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 11:30 AM
your client wants a custom field (check box) to update the device have AD. Glide the installed software table. Look for AD and if found then mark the field true else false.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 09:31 AM
if it is installed software then run a simple script, and update the manual field.
Second option would be adding extension section to windows server pattern.
Regards,
Pratiksha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 11:06 AM
Thank you for your response Pratiksha. Can you explain what you mean by "update the manual field"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 11:30 AM
your client wants a custom field (check box) to update the device have AD. Glide the installed software table. Look for AD and if found then mark the field true else false.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 11:50 AM
They want a custom attribute (custom.host.services.active_directory), I found this article where you commented and that was helpful (Creating custom CI attributes to cmdb_ci_win_serve... - ServiceNow Community). So I'm adding the name in "Added" tab for Server Attributes but getting an error "Operation against file 'sys_dictionary' was aborted by Business Rule 'Validate Table Name and Element Name'. I need the attribute to be true/false when it is recognized that their is AD present. Would this still require a script or would I need to do something else.
Thank you so much for your help/.