Jason_Rodriguez | 2023-10-03 19:19:46 UTC | #1
Attempting to run the following command and output to file to get a list of all inactive users in system. It is however pulling a list of all users. Any suggestions. THanks
gc users list --autopaginate --state string="inactive" > C:\Users\JRR9485\GC\inactiveusers.json
Jason_Rodriguez | 2023-10-03 20:59:47 UTC | #2
Looks like I found..,see below
gc users list -a --state=inactive > C:\Users\JRR9485\GC\inactiveusers.json
system | 2023-11-02 20:59:49 UTC | #3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 22338