Hmm, try this then.

$STRUserName = "Richard.Farthing"
$STRUSERPATH = "WinNT://@Domain/$STRUserName,User"
$Reset = GetObject($STRUSERPATH)
$Reset.Put("PasswordExpired", 1)
$Reset.setinfo



[ 28. October 2003, 20:04: Message edited by: Richard Farthing ]