query vm for osname