Query:
Get-ADUser -LDAPFilter '(|(userpassword=*)(unixuserpassword=*))' -Properties * | Select-Object samaccountname, description, UnixUserPassword, UserPassword, unicodePwd, msSFU30Name, msSFU30Password, os400-password
Results: Running powershell as SYSTEM user: Gives 5 users details Getting only userpassword entries and not unixuserpassword
Running powershell as Admin user: Gives 16 users details Getting both userpassword and unixuserpassword
Can anyone point out which permission or config setting causing this behaviour? Thanks.