When creating a query to look for say my computer in the script, we see errors with line 50 and then 53
code:
If $intuserAccountControl && $objHash.Item["ADS_UF_TRUSTED_FOR_DELEGATION"]
...
? Do not trust the computer for delegation"
...

Changed the code around to -

code:
If $intuserAccountControl + $objHash.Item["ADS_UF_TRUSTED_FOR_DELEGATION"]
...
? "Do not trust the computer for delegation"
...

Seems to work ok, but not really showing any info.

Added in -
quote:

$strContainer = ""
$strSearchName = "COMPUTERNAME"

Save does not appear to work.

Thanks,

Kent

[ 23. May 2003, 19:15: Message edited by: kdyer ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's