How to check my windows server is virtual machine or physical machine

后端 未结 8 1325
谎友^
谎友^ 2020-12-31 09:45

I\'m remoting desktop to windows servers in our Lab/datacenter. I have a requirement to figure out all our servers are virtual machines or physical servers programatically,

8条回答
  •  不知归路
    2020-12-31 09:54

    The only *programmatic* way I know of doing this reliably is:

    1. Write an app that crawls your network (or IP range) to get a list of machines.
    2. Display those machines to a person and ask them to check a box if it's a VM...
    3. Print the report.

提交回复
热议问题