Shawn,

Thanks! It works great.. If anyone is interested, here is the script:

TESTPASS.KIX

code:

BREAK ON
CLS
$passage = @pwage + "\\domain\userid"
IF $passage < 2
SHELL 'TESTPASS.BAT'
ENDIF

And TESTPASS.BAT is:

code:

postie -host:smtp.domain.com -to:users@domain.com -from:PASSWORDCHECK -s:"UserAccount Password Expiring" -msg:"UserAccount password is expiring"

Thanks again,

- Kent

_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's