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
- Next message: Marlon Brown: "Re: Dsget bug for more than 1,000 members ? What else can I use."
- Previous message: Patti: "RE: Orphaned Domain Controller"
- In reply to: Paul Bergson: "Re: Dsget bug for more than 1,000 members ? What else can I use."
- Next in thread: Marlon Brown: "Re: Dsget bug for more than 1,000 members ? What else can I use."
- Messages sorted by: [ date ] [ thread ]
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.
> >
> >
>
>
- Next message: Marlon Brown: "Re: Dsget bug for more than 1,000 members ? What else can I use."
- Previous message: Patti: "RE: Orphaned Domain Controller"
- In reply to: Paul Bergson: "Re: Dsget bug for more than 1,000 members ? What else can I use."
- Next in thread: Marlon Brown: "Re: Dsget bug for more than 1,000 members ? What else can I use."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|