:
wmic /node:"COMPUTERNAME" /user:"DOMAIN\Username" /password:"Pwd" os get caption wmic windows xp
: wmic product calls the Windows Installer engine and can trigger reconfiguration of software. Use with caution. wmic windows xp