Hello,
PowerShell maestro Mike Laughlin helped me develop this .ps1 script which gathers a .csv list of all AD groups with all their AD user account members (GROUP <group name> and MEMBER <SAMAccountName>) and it works very well. I am getting greedy and want to .csv export even more information on the AD user account properties. Based on the .ps1 below, how/if can I modify this script to get even more AD group member AD user account properties such as:
GROUP MEMBER USER NAME ENABLED LAST LOGON
<group name> <SAMAccountName> <DisplayName> <Enabled> <LastLogonDate>
I am getting more impressed with PowerShell v4.0 capabilities and the more I automate the more greedy I want to do more.
Thanks to all PowerShell superstars for lending your expertise on this Windows PowerShell forum!
Matt