Hi All
i have an AD security group and it has 500 security groups and 50 users added to it. if i use the below syntax will i be able to export the 500 AD groups and 50 members. i dont want to export users of 500 AD groups just the 500 AD groups and 50 users in it to a csv file.
Get-ADGroupMember -identity "ADGroup" | Select-Object Name,Description,UserprincipalName,SamAccountName| export-csv C:\temp\output.csv -NoTypeInformation