# Scan of online computers

Use the commands below to trigger the agent to start a manual scan of the current computer and send the scan result to a server endpoint as defined in the agent configuration file. A manual scan will start regardless of any schedule or other configuration. However, if a scan is already running, a manual scan will not start.

Scan the current computer, from Command Prompt:

snowagent.exe scan

Send the scanning result, from Command Prompt:

snowagent.exe send

The snowagent.exe scan command runs in the user context—i.e. in the context of the user who manually executes the command—with implied limitations, if the user is not administrator of the computer.

One can trigger the Snow Inventory Agent Windows service to run a scan in the service context—i.e. in the context of the user account that runs the Snow Inventory Agent Windows service—by manually executing the sc control SnowInventoryAgent5 128 command.

Start a scan that dumps only metering data from computer memory, aggregates, and sends it:

sc control SnowInventoryAgent5 132

### Note

This command triggers the Snow Inventory Agent Windows service to execute in the service context—i.e. as the user account that is configured to run the Windows service—which means it does not require to be run in an administrator context.

This example will send metering data in a few seconds instead of performing a regular scan, which—depending on the Inventory Agent configuration and computer performance—can take minutes to finish.