Les,
Thanks for your reply.

I have just tried your code and got the following error....

Script error : Error in expression: Dispatch pointers not allowed in expressions. !
For each $Object in $User.LoginWorkstations

...any suggestions?
Appreciate any help.
rgds
_________________________
KYOSEI. There are only three groups of people that can count. Those that can, and those that can't.