sysadmin:elenco_utenti_ad_con_scadenza_password
Elenco utenti AD con scadenza password
Get-ADUser -filter * -properties passwordlastset, passwordneverexpires | sort-object name | select-object Name, userprincipalname, passwordlastset | Export-csv -path zz.csv
Get-ADUser -filter * -properties passwordlastset, passwordneverexpires | sort-object name | select-object Name,userprincipalname,DistinguishedName,enabled,passwordlastset,PasswordNeverExpires,Description | Export-csv -path zz.csv
get-ADGroupMember -Identity "Domain Admins" -Recursive | Get-ADUser -Properties * | select name,samaccountname,sid,enabled,adminCount,DistinguishedName,PasswordNeverExpires,PasswordNotRequired,LastLogonDate,PasswordLastSet,created,Description | export-csv -path
sysadmin/elenco_utenti_ad_con_scadenza_password.txt · Last modified: 12/12/2022 07:28 by lrosa