File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,17 +10,17 @@ use the CLI to deactivate these devices in bulk.
1010You can generate a list of devices using ` code42 devices list ` . By
1111default, it will display the list of devices at the command line,
1212but you can also output it in a number of file formats. For
13- example, to generate a CSV of devices in your environment, use
13+ example, to generate a CSV of active devices in your environment, use
1414this command:
1515
1616```
17- code42 devices list -f CSV
17+ code42 devices list --active - f CSV
1818```
1919
2020To save to a file, redirect the output to a file in your shell:
2121
2222```
23- code42 devices list -f CSV > output.csv
23+ code42 devices list --active - f CSV > output.csv
2424```
2525
2626### Filter the list
@@ -83,7 +83,7 @@ to indicate that it should read from standard input.
8383Here is an example:
8484
8585```
86- code42 devices list \
86+ code42 devices list --active \
8787--last-connected-before 365d \
8888--exclude-most-recently-connected 1 \
8989-f CSV \
You can’t perform that action at this time.
0 commit comments