How to Check If a Machine is Physical or Virtual?

Sometimes it’s difficult to differentiate whether a machine is a physical or a virtual machine by remote desktop to the machine alone, because it looks identical when you remote desktop to it. However, there are several ways to verify it.

In this article, we discuss how to verify the machine with PowerShell and Command Prompt.

In PowerShell, use the following cmdlet

get-wmiobject win32_computersystem | fl model

In the Command Prompt, use this command

systeminfo /s %computername% | findstr /c:"Model:" /c:"Host Name" /c:"OS Name"


Posted

in

by

Tags:

Comments

Leave a comment

Design a site like this with WordPress.com
Get started