Hello Štechmüller,
Thank you for posting question on Microsoft Windows Forum!
Well! Since you are already connected to one of the cluster nodes, you can leverage the Hyper-V and Failover Clustering PowerShell modules together to query all VMs across the entire cluster and pull their IP addresses.
If your VMs have Hyper-V Integration Services enabled, Hyper-V reports the guest IP addresses directly to the host. You can fetch this by piping Get-VM into Get-VMNetworkAdapter. You can try to run this PowerShell cmdlet to see the VM Name, Network Adapter Name, and all assigned IP addresses.
- Get-ClusterGroup | Where-Object {$_.GroupType -eq "VirtualMachine"} | Get-VM | Get-VMNetworkAdapter | Select-Object VMName, Name, IPAddresses
Alternatively, to retrieve a list of all VMs on your host, gets their network adapters, and displays the VM name, IP address(es), switch, and MAC address by running below cmdlet.
- Get-VM | Get-VMNetworkAdapter | Select-Object VMName, IPAddresses, SwitchName, MacAddress
Please note: If the IPAddresses field comes back empty for some VMs, it might indicate that Integration Services are outdated or disabled inside that specific VM guest OS or the VM is currently powered off.
For further reference regarding the cmdlets.
- https://learn.microsoft.com/en-us/powershell/module/failoverclusters/get-clustergroup?view=windowsserver2025-ps
- https://learn.microsoft.com/en-us/powershell/module/failoverclusters/get-clusternode?view=windowsserver2025-ps
Hope the above information is helpful! If it is. Free feel to hit "Accepted" for benefitting others in community having the same query too.