Компьютерный форум OSzone.net  

Компьютерный форум OSzone.net (http://forum.oszone.net/index.php)
-   Microsoft Windows NT/2000/2003 (http://forum.oszone.net/forumdisplay.php?f=5)
-   -   запрос в AD (http://forum.oszone.net/showthread.php?t=78677)

Sidelong 02-02-2007 16:47 544892

запрос в AD
 
Привет всем!
Подскажите в чем ошибка, при таком запросе у меня в файл не больше 100 записей только вноситься, а в AD раза в 2-3 больше их???
Код:

dsquery user "ou=имя подразделения, где лежат все мои юзеры,dc=имя домена" -name * | dsget user -display -office - tel >c:\text.cvs
обишку выдает такую:
Код:

Dsquery has reached the default limit of 100 results to display; use the -limit option to
display more results.

если добавить параметр -qlimit, перед >c:text.cvs то выдается следующая ошибка:
Код:

Параметр задан неверно.:The directory partition does not exist on the specified server or
domain. Verify that you have entertype dsget /? for help.


xoxmodav 05-02-2007 08:21 545782

Читай помощь к команде dsquery:

Цитата:

-limit <NumObjects>

Specifies the number of objects matching the given criteria to be returned, where <NumObjects> is the number of objects to be returned. If the value of <NumObjects> is 0, all matching objects are returned. If this parameter is not specified, by default the first 100 results are displayed.


Время: 17:39.

Время: 17:39.
© OSzone.net 2001-