well...

$User.sAMAccountName = $strNewUserID $User.userPrincipalName "test@eu.firma.corporate"

looks like

$User.sAMAccountName = $strNewUserID
$User.userPrincipalName "test@eu.firma.corporate"

where

$User.userPrincipalName "test@eu.firma.corporate"
should be
$User.userPrincipalName = "test@@eu.firma.corporate"

_________________________
Home page: http://www.kixhelp.com/hb/