April 16, 2016

VMware vs. Hyper-V - Find VM ID

How to find ID of Virtual Machine?

In Hyper-V:
Get-VM VM_NAME | select ID

In VMware:
Get-VM VM_NAME | %{(Get-View $_.Id).config.uuid}

What was that?


No comments:

Post a Comment