Code:
break on
$objUser = GetObject ("WinNT://cacc/JBlow")

$AccountExpiration = $objUser.AccountExpirationDate


If @error <> 0 or $AccountExpiration = "1/1/1970"
"No account expiration specified" ?
Else
"Account expiration:"+ $objUser.AccountExpirationDate
EndIf

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