Link to home
Start Free TrialLog in
Avatar of TFHDIT
TFHDIT

asked on

How to use Get-QADObject script to return just SamAccountName and AccountExpires

I'm trying to run a powershell script to return just the SamAccountname and the AccountExpires
for -type user.  I run Get-QADObject -SizeLimit(0) -Type user | Export-csv c:\AD_Users.csv and this returns all the AD attributes.  Would I use the IncludeProperties parameter?
ASKER CERTIFIED SOLUTION
Avatar of Joe Klimis
Joe Klimis
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial