Server – Virtual or Physical?

What If:

you are logged on to a server thru RDP and would like to know quickly whether the server is Physical or Virtual?

You can use below one line Powershell command that queries the win32_computersystem WMI-class to check whether the server is a virtual one or is a physical server.

Powershell comes to the rescue:

  • PS C:\> (get-wmiobject win32_computersystem).model

Virtual Machine

  • PS C:\> (get-wmiobject win32_computersystem).model

PowerEdge M610

Hope it helps!!!

Thanks, MAK