Link to home
Create AccountLog in
Avatar of mjm21
mjm21Flag for United States of America

asked on

Powershell / quest commandlets script that will export a list of users that are Enabled and "Do Not" have SID History then export to .csv file

Powershell / quest commandlets script that will export a list of users that are Enabled and "Do Not" have SID History then export to .csv file
Avatar of RickSheikh
RickSheikh
Flag of United States of America image

get-qaduser -sl 0 -enabled -ip sidhistory | where{$_.sidhistory -eq "<not set>"} | select samaccountname | export-csv users.csv
Avatar of mjm21

ASKER

testing now
Avatar of mjm21

ASKER

Can you sendme one that will run with the quest commandlets?  Also, set it in such a way that we are pulling from a particular OU?
ASKER CERTIFIED SOLUTION
Avatar of RickSheikh
RickSheikh
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer