Run uploaded filter script
  • 14 Nov 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

Run uploaded filter script

  • Dark
    Light
  • PDF

Article summary

Use Run uploaded filter script to check if devices fulfil the right conditions to install/launch applications or actions, by typing in the script that will be executed.

General
TypeRun uploaded filter script
Script engineThe script engine to use when executing the script:
  • Windows only - Batch, VBScript, Windows PowerShell
  • macOS only - Bash, Zsh, AppleScript
  • Windows and macOS - JavaScript, PowerShell (Core)
ScriptType in the script that will be executed.
ArgumentsInsert the arguments for the script file.
DirectorySelect the working directory.
OperatorYou can filter either by the output of the script or the success return code. Available options: Value, Return code
ExistsDefine whether or not the return code or the output of the script should match the given values. Available options: Yes, No
Success return codesThe return code(s) that will be evaluated against the set filtering. You can specify multiple return codes by delimiting them with spaces.
Advanced
ContextThe level at which the filter is executed, User or Device.
Engine argumentsInsert the arguments you want to pass to the script engine.
Time outThe time in seconds after which the filter process is stopped. For example, some filters run during login, and if it takes too long and you don't want the login process to be hanging too much, you can consider decreasing the timeout value of the filter.

Agent

It requires the Agent to be running.

Supported platforms

PlatformSupported
WebNo
WindowsYes
macOSYes

Was this article helpful?

What's Next