I am wondering if it were possible to create a report that runs a Get-ADUser account script? I do not know what content and the correct resource I will need to add to my report. If any of you could please provide some guidance it would be greatly appreciated!
Powershell script to run:
Get-ADUser -filter * -properties passwordlastset, passwordneverexpires -SearchBase "OU=OUNAME,DC=DOMAINAME,DC=COM" | sort-object name | select-object Name, passwordlastset, passwordneverexpires | Export-Csv 'C:\ServiceAccount.csv' -NoType
Thank you!
Erick