fnLDAPQuery - http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=142043#Post142043
will probably do it too

Witto,
in the above function here is how he did it.
$oCMD.Properties("Page Size").Value=1000