I have a script that is currently working. There are two groups that need to be omitted from the CSV that is exported. As it currently sits it works. see below: Import-Csv -Path .importactiveusers.csv | ForEach-Object{ $user = get-aduser -Identity $_.samaccountname -Properties name, samaccountname, memberof $( if ($user.memberof.count -gt 1) […]