### Run Scripts

You can create a Guardian Command Line script to perform several Guardian tasks with one command. You can schedule scripts to run at specified times and intervals by using utilities such as the Windows Task Scheduler or the Linux `crontab` command.

To run a script, enter the following command at the operating system prompt:

- On Windows:

`guardianHeadless.cmd -gscript -f <`script_name`>`

- On Linux:

`guardianHeadless.sh -gscript -f <`script_name`>`

Where:

`<script_name>` is the path and name of your CLI script.

To view the results of evaluations and inventories conducted from the CLI, use the Domain Explorer in the Guardian User Interface.