DSGET GROUP

Displays the properties of group accounts using one of two syntaxes. The syntax for viewing the properties of multiple groups is

dsget group GroupDN ... [-dn] [-samid] [-sid]
[-desc] [-secgrp] [-scope] [{-s Server | -d Domain}]
[-u UserName] [-p {Password | *}] [-c] [-q] [-l]
[{-uc | -uco | -uci}] [-part PartitionDN [-qlimit]
[-qused]]

The syntax for viewing the group membership information for an individual group is

dsget group GroupDN [{-memberof | -members}
[-expand]] [{-s Server | -d Domain}] [-u UserName]
[-p {Password | *}] [-c] [-q] [-l]
[{-uc | -uco | -uci}]

This command is available in Windows Vista Business or later if Remote Server Administration Tools Pack has been installed.

Get Active Directory® Administrator's Pocket Consultant now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.