Hi,
Check system manufacturer by running the command "systeminfo | find /i "system manufacturer".
If the output includes hardware manufacturers like HP, Lenovo, or Dell, it indicates a physical machine.
If "Microsoft" is present in the output, it signifies a Hyper-V virtual machine.
If "VMWare" is present, it indicates a VMWare virtual machine.