---
sourceDocument: Australia IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/it-operations-management

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Command Validation Tasks form for pattern-based discovery

# Command Validation Tasks form for pattern-based discovery {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 Minuten Lesedauer

Command Validation Tasks form displays the fields that you must fill when you create or modify a task for testing a pattern command.
For more information about testing pattern commands, see [Validate commands used in pattern-based discovery](https://servicenow-prod.fluidtopics.net/NSsta8vqi4L0zqNtqDhLeg "Validate pattern commands to verify that the MID Server can successfully run them. Typically, commands might fail if you haven't configured the credentials necessary to run these commands on your ServiceNow instance. Another common reason of command failure is that the IP addresses used for discovery aren’t reachable.") and [View command validation task results in pattern-based discovery](https://servicenow-prod.fluidtopics.net/redCjxl3bjEs2a05Qo8BOg "View the results of command validation tasks to verify you have the correct credentials and permissions to run pattern-based discovery successfully.").  
{#command-validation-reference__table_h5t_b2m_c5b__entry__2}

| Field | Description |
|-|-|
| Number | The task number is automatically created by the system. |
| MID Server Selection Method | Select the relevant method: * Specific MID Server - To define the MID Server for this test. * Automatic MID Selection - To use a MID Server that's assigned to the IP range or IP network that you want to use for the test. Select this method only if you have configured a MID Server with IP ranges or as a default MID Server for Discovery. * Try All Eligible MID Servers - To use any MID Server available for the the IP range or IP network that you want to use for the test. Select this method only if you have configured a MID Server with IP ranges or as a default MID Server for Discovery. {#command-validation-reference__ul_e13_h2m_c5b} |
| MID Server | The MID Server name. This field appears only if Specific MID Server is selected from MID Server Selection Method. |
| Validate All Pattern Commands | The check box for validating all commands used by a specific pattern simultaneously. |
| OS Class | The CI class that represents the servers on which you run this validation task. |
| Command Type | The command type that depends on the kind of the server: * Shell Command * WMI Query * SNMP Query (Tabular and Scalar) * SNMP Walk * HTTP GET (for Basic Authentication credentials, not Token) {#command-validation-reference__ul_uyb_pzh_fwb} This field is available only when Validate Al Patterns Commands isn't selected. |
| IP Addresses | Any combination of IP v4 Addresses, IP Ranges, or IP networks. For example: * <kbd class="ph userinput">10.196.39.12, 10.196.39.12</kbd> - Comma-separated IP addresses for a list of standalone addresses. * <kbd class="ph userinput">1.1.1.1-1.1.1.100</kbd> - Hyphen-separated IP addresses for an IP range. * <kbd class="ph userinput">1.1.1.1/28</kbd> - Slash notation for an IP network. {#command-validation-reference__ul_eg3_qmj_g5b} Hinweis: To use IP range or IP network, ensure you have installed the ParseIPRanges script include. For more information, refer to [KB1123625: Command Validation Tool](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1123625). |
| Commands | The commands for which you want to test credentials. Typically, it's a command that discovery process failed to execute. For example, /api/v1/pods?limit=50 or sudo dmidecode. You can select only commands from the list of available commands. This field is available only when Validate All Patterns Commands isn't selected. |
| Pattern | The name of the pattern for which you want to validate the commands. This field is available only when Validate All Patterns Commands isn't selected. |
[ ]

{#command-validation-reference__table_h5t_b2m_c5b}
**Zugehörige Konzepte**   

* [Discovery commands for probes and patterns](https://servicenow-prod.fluidtopics.net/CseVrG43ee94xlrINJYP4A "Discovery commands are used for both probe and pattern-based discovery to access configuration items (CIs) in your environment.")  
**Zugehörige Verweise**   

* [Command List form for pattern-based discovery](https://servicenow-prod.fluidtopics.net/fzfqZq5qRIB0oEenX3UCjQ "The Command List form contains all commands used in discovery by infrastructure or application type patterns.")

