getdevices command

Use the getdevices command to display all of the system device list. The output generated from this command can be used with the getinfor command.

getdevices command syntax

OneCli.exe inventory getdevices [<options>]
Table 1. getdevices command parameters
Parameter Required/Optional Notes
--output Optional By default, the log file output is saved to: ../Onecli-%PID%-%date%-%time%/.
Note: Arguments for the --output parameter are case sensitive.