Hi,
I have FOC and which have several Hyperv hosts. I want to get the MAC address of a VM located in the FOC.
Now to do that i run the following command from the Management Server (which is of course not part of FOC)
$HyperVHost = Read-host -prompt 'Input HyperV host name'
$VMName = Read-host -prompt 'Input VM Name'
Get-networkAdapter -ComputerName $HyperVHost -VMname $VMName | Select -Property MacAddress
That requires me to find where the VM is located and then enter the HyperV host name. Is there anyway to find the mac address for a VM located in a cluster? or maybe find what host the vm is hosted in a FOC?
Can i run powershell get-clustergroup remotly?