Well, for a primer on ADSI, I borrowed this from Kent.
code:
break on

$DCString = "YourDomain"
$User = "YourName"
$DomainObj = GetObject("WinNT://" + $DCString + "/" + $user + ",user")
$Name = $DomainObj.Name
? $Name ?
$Description = $DomainObj.Description
? $Description ?
$FullName = $DomainObj.FullName
? $FullName ?

get $_



Edged out by the master... next time Shawn... next time...

But where's the "any" key?

[ 08 February 2002: Message edited by: LLigetfa ]

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.