Hi,
Please let me know if you get any other way to check if the current OS is physical or virtual through command prompt. It is necessary for me to get this information through command prompt.
I can check for OS manufacturer info through wmic or systeminfo command to make sure that it is windows OS. What if the virtual machine( ex: VM for Xp) is also manufactured by microsoft only.