How do I query a groups members, including subgroups, to output givename, surname, and title? RRS feed

  • Question

  • Hi Scripting Guy members,

    I am new to powershell and I haven't been scripting verylong. I've been learning how to pipe commands so here is where I am so far:

    get-adgroupmember "spec - new product announcements" |  get-aduser -Properties GivenName, Surname, Title | select GivenName, Surname, Title

    This script isn't complete but I was looking for some pointers on how to get some subgroups that are in the "spec - new product announcements" group to be outputed with their GivenName, Surname, and Title. I got to a point where I succeeded in this but I forgot to copy the command. Any help would be appreciated.


    Wednesday, February 26, 2014 7:56 PM


All replies