Otevřete konzoly PowerShell
a.) s výpisem do konzole
Get-ADUser -Filter * -Properties * | where
{$_.CannotChangePassword } | Format-Table Name, DistinguishedName
b.) s výpisem do CSV
Get-ADUser -Filter * -Properties * | where
{$_.CannotChangePassword } | export-csv -path
c:\temp\AD_CannotChangePassword.csv -NoTypeInformation -Encoding „UTF8“