You would think this is simple, but I can't find my answers anywhere. I have a spreadsheet with a users display name, employee number, and their user ID for a program we use here at work. Any time I'm using dsquery to get the required information it is leaving a ton of blank spaces in the CSV, and it's not pulling the "employeeID" attribute I'm trying to get it to pull - just the cn. That, and when I can manipulate things to make it pull multiple attribute values at once, it is putting all of the information for a single user (also grabbing computers) in a single cell in the CSV which is completely useless to me. Can somebody help?