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
Active DirectoryPowershell

Avatar of undefined
Last Comment
RickSheikh
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
mjm21
Flag of United States of America image

ASKER

testing now
Avatar of mjm21
mjm21
Flag of United States of America image

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

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Active Directory
Active Directory

Active Directory (AD) is a Microsoft brand for identity-related capabilities. In the on-premises world, Windows Server AD provides a set of identity capabilities and services, and is hugely popular (88% of Fortune 1000 and 95% of enterprises use AD). This topic includes all things Active Directory including DNS, Group Policy, DFS, troubleshooting, ADFS, and all other topics under the Microsoft AD and identity umbrella.

86K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo