Re: Dsget bug for more than 1,000 members ? What else can I use.

From: Marlon Brown (marlon_brown_at_hotmail.com)
Date: 08/26/04


Date: Thu, 26 Aug 2004 16:00:40 -0700

Are you saying that this is the script that can make dsget -member work with
up to 3,000 objects ?

"Paul Bergson" <pbergson@mnpower.com> wrote in message
news:OCI20B7iEHA.2760@TK2MSFTNGP15.phx.gbl...
> This works for me, modify size limit and page size
>
> Set objConnection = CreateObject("ADODB.Connection") ' Create a
Connection
> object in memory
> objConnection.Open "Provider=ADsDSOObject;" ' Open the
Connection
> object using the ADSI OLE DB provider
>
> Set objCommand = CreateObject("ADODB.Command") 'Create an ADO Command
> object in memory, and assign the Command _
> objCommand.ActiveConnection = objConnection ' object's
> ActiveConnection property to the Connection object
>
> objCommand.Properties("Page Size") = 100
> objCommand.Properties("Size Limit") = 3000 <--- Will change 1000 default
> to 3000 records ++++++++++++++++
>
> objCommand.CommandText = _blah, blah, blah, blah, blah
>
> Set objRecordSet = objCommand.Execute
>
> --
>
> Paul Bergson MCT, MCSE, MCSA, CNE, CNA, CCA
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
>
>
> "Marlon Brown" <marlon_brown@hotmail.com> wrote in message
> news:ufhCU16iEHA.3536@TK2MSFTNGP12.phx.gbl...
> > Hi there,
> >
> > It seems dsget (Win2003)
> > dsget group DNGROUP| -members}]
> >
> > is able to list members of small groups I have, but it returns nothing
for
> > groups that has more than 1,000 people.
> >
> > I've seen "ADFIND" tool by Joe Richards, but if anybody can show me
which
> > command line I can use to accomplish the same that I would
> > with dsget -members, please let me know.
> >
> >
>
>



Relevant Pages

  • ANN: vile 9.5
    ... + syntax filters can now be dynamically loaded. ... repeated '_' selects the first buffer shown. ... + modify name-completion to allow completion of filenames containing ... command rather than having it erased. ...
    (comp.editors)
  • Re: avoiding glTranslatef*
    ... that "vertex" would be a internal hardware-level command. ... The modern 3D chip has hundreds of ALU's and a _LOT_ of processing ... What they need is more memory bandwidth, ...
    (comp.graphics.api.opengl)
  • Re: Cannot find -lf2c compilation error
    ... However, when I run the command 'make', I get the ... You don't have to modify anything. ... ld terminated with signal 11 [Segmentation fault] ... Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines ...
    (Fedora)
  • Re: Isnt Command Rate a "memory setting?"
    ... If I set the command rate to 2T, ... spec for your memory says 2.75v. ... is telling me that it's NOT a memory setting. ... PSU problems are not out of ...
    (alt.comp.periphs.mainboard.asus)
  • 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)