Need help with PS script utilizing Quest Active Directory Management Shell
hi, i'm trying develop simple script members of ad distribution groups , nested groups. add - pssnapin quest.activeroles.admanagement $pw = "12345678" $password = convertto - securestring - string $pw -as plaintext - force connect - qadservice - service '10.0.0.1' - connectionaccount 'tstdom\batuhanc' - connectionpassword $password $arrgroup = get - qadgroup - grouptype 'distribution' foreach ( $ogroup in $arrgroup ) { get - qadgroupmember $ogroup - type 'user' - indirect } this script gives me users direct members of group and members of nested groups in format each user: objectsid : 010500000000000515000000e014796ea2c8d2952da90f2e39130000 objectclass : {top, person, organizationalperson, user} objectguid : 134c334a9af2fb48932bb838df04ce79 sn : smith whencreated : 12.11.2010 11:00:01 whenchanged : 12.11.2010 11:00:01 givenname : john l : facsimiletelephonenumber : mail : ...