Re: dsget limitations

Tech-Archive recommends: Fix windows errors by optimizing your registry



I don't find anything like a -limit in dsget, but you might try
adding -expand and also checking the version of dsget you are using. Version
5.2.3790.1830 came out in SP1.

dstools are supported and if you can repro this with the current version,
you should be able to get PSS to work on a fix.

...or use one of the other available resources already mentioned.

--
/kj
"Johnny" <Johnny@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C8F62DC8-394F-42B7-AB72-E4A5719A13A3@xxxxxxxxxxxxxxxx
> Hello KJ.
> Thanks for answering.
> I am talking about the dsget command.
>
> Here is an example.
>
> 'dsget group "cn=usergroup,ou=technet,dc=microsoft,dc=com" -members'
> where cn=usergroup is a global security group.
>
> This command works fine for cn=usergroup that has a small number of
> members,
> such as less than 100. If the cn=usergroup has a lot of members, such as
> over
> couple of thousands, this command gives no output.
>
>
>
>
> "kj" wrote:
>
>> Possibly do you mean dsquery?
>>
>> I think dsget targets a single object retrieving various properties of
>> that
>> object.
>>
>> If you did mean dsquery, then the default does limit the results to 100
>> objects. Add "-limit 0" to your dsquery command for all objects, or use a
>> number to limit to some desired value.
>> --
>> /kj
>> "Johnny" <Johnny@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:6731A03C-ACF6-49F6-B11C-CF7572E35795@xxxxxxxxxxxxxxxx
>> > Hello.
>> > Does anyone know if there are any limitations to the dsget command,
>> > specifically the number of objects that can be output?
>> >
>> > I have no problems using this command when the output is small, around
>> > 100.
>> > But when the expected output is large, over couple of thousands, this
>> > command gives no results.
>> >
>>
>>
>>


.



Relevant Pages

  • Re: Password never expires
    ... You can do that with the DSGET command: ... Display the various properties of a user in the directory. ... There are two variations of this command. ... -part Connect to the directory partition with the ...
    (microsoft.public.windows.server.active_directory)
  • Re: Print Distribution list members
    ... You can export the members of a group using dsquery and dsget like in this ... If there are nested Distribution Lists, ...
    (microsoft.public.exchange.admin)
  • Cleaning up DSGET group command output
    ... good practices or ideas on how to clean up the output of the dsget group ... you export from a "dsget group -members" command, ... IT2 Myers, Tyler's Profile: http://forums.techarena.in/members/143977.htm ...
    (microsoft.public.windows.server.active_directory)
  • Re: Export Usernames and Email Addresses
    ... DSGet command -- it is far more capable than the Net commands. ... You may also need to combine this with a preliminary DSQuery User ...
    (microsoft.public.windows.server.active_directory)
  • RE: Listing all the users in a group
    ... To simplify the process of ... getting the DN you can use the dsquery command: ... use the DN in the dsget command. ...
    (microsoft.public.win2000.active_directory)