After this line:

?"Your account expires on " + $objUser.AccountExpirationDate + "."

Put this line:

? "ERROR @ERROR : @SERROR"

What error you getting ?