How To get All the VM and the IP from Hyper-v Cluster

There is many Powershell command to get information on hosted VM’s’ for example, to get all the IP of the hosted VM on the cluster :

Get-ClusterGroup | ? {$_.GroupType -eq 'VirtualMachine' } | Get-VM |  Select -ExpandProperty Networkadapters | select vmname , IPAddresses

Good Luck

Leave a Reply

Your email address will not be published. Required fields are marked *