Re: Copy Active directory Users to a SQL DB table - Daily
- From: Waydaws <wayne_dawson@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 21 Jun 2007 09:30:20 -0700
On Jun 21, 2:00 am, Yas <yas...@xxxxxxxxx> wrote:
On 20 Jun, 23:39, "itsmillertim...@xxxxxxxxx"
<itsmillertim...@xxxxxxxxx> wrote:
It is, but really is it necessary. You can connect to AD directly
from SQL as it were a remote SQL server, and to me this makes more
sense.
Yes to me too :-) however I'm limited by the 1000 limit of AD and
there are over 2000 users that I need to retrive.
Yas
You're limited to 1000, if you don't specify a page size in your
query. If you the page size, it will return the query results in
pages of whatever size you select. It will pause slightly between
each page (but you won't notice it in the script), and will continue
until no more records that match the query are returned. Yep, you can
even set it to 1000, but not more. Try it; it will work.
.
- Follow-Ups:
- Re: Copy Active directory Users to a SQL DB table - Daily
- From: Richard Mueller [MVP]
- Re: Copy Active directory Users to a SQL DB table - Daily
- References:
- Copy Active directory Users to a SQL DB table - Daily
- From: Yas
- Re: Copy Active directory Users to a SQL DB table - Daily
- From: itsmillertime4u@xxxxxxxxx
- Re: Copy Active directory Users to a SQL DB table - Daily
- From: Yas
- Copy Active directory Users to a SQL DB table - Daily
- Prev by Date: Re: Date/Time conversion for accountExpire passwrdExpire etc... The actual (server date/time) ? Not local time.
- Next by Date: Re: Urgent!!! VB Developers for UAE
- Previous by thread: Re: Copy Active directory Users to a SQL DB table - Daily
- Next by thread: Re: Copy Active directory Users to a SQL DB table - Daily
- Index(es):
Relevant Pages
|