Get all VMs and its IP on Hyper-V

pwshell command

Get-VM | select -ExpandProperty NetworkAdapters | select VMname, IPAddresses

Leave a Reply

Your email address will not be published.