Originally I ran into this while trying to combine AD groups and user members into an array of objects to process and export into a csv file...
Powershell – Data put into an array goes away after exiting ForEach-Object loops
read more
Originally I ran into this while trying to combine AD groups and user members into an array of objects to process and export into a csv file...