Hi,
Can anyone tell me the correct syntax using DSQUERY and DSGET to output the members of groups in a specific OU along with the name of the group. At the moment I can output all users but not with the group names. This is the syntax I'm using -
dsquery group "ou=ouname,dc=domain,dc=co,dc=uk" -name *HS* | dsget group -members >> "groups.txt
Thanks.
Molenski
As my bessie bud Kev always says - Get involved!!!
Can anyone tell me the correct syntax using DSQUERY and DSGET to output the members of groups in a specific OU along with the name of the group. At the moment I can output all users but not with the group names. This is the syntax I'm using -
dsquery group "ou=ouname,dc=domain,dc=co,dc=uk" -name *HS* | dsget group -members >> "groups.txt
Thanks.
Molenski
As my bessie bud Kev always says - Get involved!!!