I have the following problem with my powershell script. With MemberOf I d'ont see all groups. I think the output is too long for the field.....
How can I resolve this problem? Any Help is welcome......
This is my script:
import-module activedirectory
get-aduser -filter {(company -eq "abc") -and (Enabled -eq $false)} -properties * | select company, samAccountName, MemberOf | Format-List