Looking for list of commands/queries used by ACC for Discovery?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2025 07:56 AM
My customer is asking for a list of all commands/queries used by ACC for Discovery. Where can find that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2025 09:43 PM
Hi @Suggy check below link to get complete knowledge about ACC
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0815247
if my answer helps you mark helpful and accept solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2025 05:18 AM
@Harish Bainsla none of them details the list of ALL COMMANDS/QUERIES used by ACC 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2025 07:30 AM
Hi @Suggy ,
Where to find the commands used by ACC Discovery?
As of now, ServiceNow does NOT publicly expose a full list of all exact shell/PowerShell/command-line queries used by ACC Discovery (for security, IP protection, and dynamic updates).
However, you can still get visibility into the commands used in the following ways:
1. Use ACC Command Viewer (Diagnostic Tool)
If you're using ServiceNow Cloud MID (Agent Client Collector), you can:
Navigate to:
Discovery > Agent Client Collector > Commands
There, you will find:
* Commands executed
* Target system details
* Return values
* Status of execution
This gives visibility into:
* Shell commands (Linux)
* PowerShell or WMI queries (Windows)
* SNMP/OIDs if network device
Useful for: auditing and troubleshooting Discovery behavior.
2. Analyze Pattern Steps (for ACC Patterns)
If you want to understand which commands ACC executes, review the Discovery Pattern being used.
Path:
Discovery > Patterns > Select CI Pattern
Then look for "Execute Command", "Parse Command Output", "Script Step" actions.
Each of these steps reflects:
* What ACC will execute (e.g., dmidecode, ifconfig, Get-WmiObject, etc.)
* The parsing logic for returned data.
Note: ACC-based patterns use different steps than legacy patterns, but command intent is similar.
3. Use Logs:
For detailed debugging:
Go to:
Agent Client Collector > Devices > [Your Device] > Discovery Logs
These logs often capture:
* Step-wise execution
* Errors, outputs
* Invoked commands (especially if debug is enabled)
Search for: CommandExecutor, ExecuteCommand, CommandOutput
Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.
Thank You
AJ - TechTrek with AJ - ITOM Trainer
LinkedIn:- https://www.linkedin.com/in/ajay-kumar-66a91385/
YouTube:- https://www.youtube.com/@learnitomwithaj
Topmate:- https://topmate.io/aj_techtrekwithaj (Connect for 1-1 Session)
ServiceNow Community MVP 2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2025 12:21 AM
Hi Check this out sa_mapping_ext_commands