Difference between revisions of "How to get the members of a group using CMD"

From Tech-Wiki
Jump to: navigation, search
(Created page with "Category:Microsoft How to get the members of a group using CMD, useful to save to text files. C:\> dsget group "CN=GroupName,DC=domain,DC=name,DC=com" -members")
 
 
Line 1: Line 1:
 
[[Category:Microsoft]]
 
[[Category:Microsoft]]
 +
'''[[Microsoft#Active Directory|Back to Active Directory]]'''
 +
  
 
How to get the members of a group using CMD, useful to save to text files.
 
How to get the members of a group using CMD, useful to save to text files.
 
  C:\> dsget group "CN=GroupName,DC=domain,DC=name,DC=com" -members
 
  C:\> dsget group "CN=GroupName,DC=domain,DC=name,DC=com" -members

Latest revision as of 10:12, 24 August 2016

Back to Active Directory


How to get the members of a group using CMD, useful to save to text files.

C:\> dsget group "CN=GroupName,DC=domain,DC=name,DC=com" -members