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?
If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.