I would like a command to list all of the user accounts in a Windows (Vista, 7, etc.) system in a way that I can use to iterate through them with a subsequent command.
net user
gives me the data for which I'm searching, but it adds a bunch of other junk that would cause difficulty in parsing the users.
Ideally, I would receive output like:
> usercommanduser1user2user3