Run Windows Shell Command
- 1 minute to read
The Run Windows Shell Command action deploys an optional list of selected files and runs a command line on each of the query results entities, which are windows devices.
To configure the Run Windows Shell Command action, do as follows:
- From the Action Library, click Run Command, and then click Run Windows Shell Command.
Define a unique action name.
To use the first connected Microsoft Active Directory (AD) adapter credentials, select the Use stored credentials from the Active Directory adapter checkbox. Otherwise, provide credentials to connect and to execute the command on the windows device: WMI user and password.NOTETo use this option, you must successfully configure a Microsoft Active Directory (AD) adapter connection.
Specify the command line parameters.
If you are deploying a script, then specify the command line required in order to invoke the script here. For example: If you attached a script named "test.bat" to the action, then you must also specify "test.bat" (without the quotes) in the Command line parameters field.
To deploy files on the device, use the following controls to upload one or more files:
NOTEThe uploaded files are deployed to the c:\windows\axonius folder. When uploaded, if a file with the same name already exists, it is overridden by the new uploaded file. Uploaded files are not automatically deleted.
- 'Choose file' - to choose a file to be upload.
- '+' - to upload additional file.
- 'x' - to remove the uploaded file.
Save the action.