O'Reilly logo

Active Directory® Administrator's Pocket Consultant by William Stanek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

DSGET COMPUTER

Displays the properties of a computer account using one of two syntaxes. The syntax for viewing the properties of multiple computers is

dsget computer ComputerDN  ... [-dn] [-samid] [-sid]
[-desc] [-loc] [-disabled] [{-s Server | -d Domain}]
[-u UserName] [-p {Password | *}] [-c] [-q] [-l]
[{-uc | -uco | -uci}] [-part PartitionDN [-qlimit]
[-qused]]

The syntax for viewing the membership information of a single computer is

dsget computer ComputerDN [-memberof [-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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required