With this query, you don't actually need -tdc. It won't add any value
because you aren't requesting any time attributes.

Also you can slim it down to only show users who have a script set by using
the following

adfind.exe -b dc=domain,dc=edu -f
"&(objectcategory=person)(samaccountname=*)(scriptpath=*)" -tdc scriptPath
userPrincipalName >c:\scriptPath.log

  joe
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Singler
Sent: Tuesday, February 22, 2005 4:37 PM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] Logon Scripts

you can try (watch wrap):

adfind.exe -b dc=domain,dc=edu -f
"&(objectcategory=person)(samaccountname=*)" -tdc scriptPath
userPrincipalName >c:\scriptPath.log

check joeware.net for adfind


Charlie Saliba wrote:
> Is there anyway to tell without clicking into each user's properties 
> to tell which logon script they use?
> List info   : http://www.activedir.org/List.aspx
> List FAQ    : http://www.activedir.org/ListFAQ.aspx
> List archive: 
> http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to