Find UUID for a VM from powercli

          Find UUID for a VM from powercli


use power cli

1)Connect Vcenter server:

PowerCLI C:\> Connect-VIServer <IP>

2)Find VM UUID:

Get-VM <vm_name> | %{(Get-View $_.Id).config.uuid}

No comments:

Post a Comment

how to unlink a NIC from a esxi vSwitch

  List the vSwitches from ESXI using CLI:          esxcli network vswitch standard list  output example: vSwitch0    Name: vSwitch0    Class...