you can do this pretty easy in VBScript

 Set objUser = GetObject(LDAP://DNofUser <ldap://DNofUser/>)
 WScript.Echo Objuser.TerminalServicesProfilePath

And if you want all users you can search AD using ADO.






On Wed, Oct 21, 2009 at 6:06 PM, Sean Martin <[email protected]> wrote:

> I'm sure this has been asked in the past, but I couldn't find anything in
> my archives.
>
> Is there a way to query AD to find the value of the terminal service
> roaming profile path for each user? It seems the data is stored as a binary
> log file so traditional ldap tools won't give me the data I need.
>
> I recently migrated users to new roaming profiles users using tscmd. Now I
> would like to find out if there are any users that were missed.
>
> - Sean
>
>
>
>
>
>

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to