Thread: Powershell slow
View Single Post
Old 04-10-2008   #1 (permalink)
Swamy Channaveera
Guest


 

Powershell slow

Hi,

I'm using get-qaduser to get some of the attributes from AD. The script
reads a text filee and extracts some of the attributes and writes to the csv
files. The execution takes a long time. I'm querying for only 35 users max it
takes around 45sec to 1 min to get the info and write it to csv file. Where
as a VBScript hardly takes 10 sec!!!!

I have another script which checks wheter the Homemdb attribute exists and
writes some of the attributes to the csv files. The execution takes a long
time about 1 hours for 17,000 users.

I'm running the script on XP mahcine with 512 MB ram. Any suggestion to
improve the execution would be appriciated.

Regards,
Swamy


My System SpecsSystem Spec