Although not technically coding, I do ocassionally need to run some Powershell commands at work to get something done. I decided to share some of what I have learned here to help others that might need to do these things also.
For this one, I needed to be able to list all the Active Directory (AD) accounts that were part of a security group. Powershell makes this a relatively easy task with the
Get-ADGroupMember -identity "<enter group name here>" -recursive |
Select name | Export-csv -path <enter path to file here>.csv -NoTypeInformation