How To Create a Custom Boolean Field That Answers Whether ADDS Present

Renae_03
Tera Contributor

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. 

 

1 ACCEPTED SOLUTION

Pratiksha
Mega Sage
Mega Sage

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. 

View solution in original post

7 REPLIES 7

Created the custom attribute (pictured below)  now I just need help with developing the logic for how the attribute will show true or false 

SagaS
Kilo Contributor

Choose a programming language: Select a programming language that you are comfortable with and that supports working with Active Directory. Common languages for this purpose include C PowerShell, and Python.

Pratiksha
Mega Sage
Mega Sage

Do you have it on running process or installed software?