{"id":2475,"date":"2023-04-30T11:16:23","date_gmt":"2023-04-30T09:16:23","guid":{"rendered":"https:\/\/itsimple.info\/?p=2475"},"modified":"2023-04-30T11:16:26","modified_gmt":"2023-04-30T09:16:26","slug":"how-to-get-all-the-vm-and-the-ip-from-hyper-v-cluster","status":"publish","type":"post","link":"https:\/\/itsimple.info\/?p=2475","title":{"rendered":"How To get All the VM and the IP from Hyper-v Cluster"},"content":{"rendered":"\n<p>There is many Powershell command to get information on hosted VM&#8217;s&#8217; for example, to get all the IP of the hosted VM on the cluster :<\/p>\n\n\n\n<p> <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Get-ClusterGroup | ? {$_.GroupType -eq 'VirtualMachine' } | Get-VM |  Select -ExpandProperty Networkadapters | select vmname , IPAddresses<\/pre>\n\n\n\n<figure class=\"wp-block-pullquote has-vivid-green-cyan-color has-text-color has-large-font-size\"><blockquote><p>Good Luck<\/p><\/blockquote><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>There is many Powershell command to get information on hosted VM&#8217;s&#8217; for example, to get all the IP of the hosted VM on the cluster : Get-ClusterGroup | ? {$_.GroupType -eq &#8216;VirtualMachine&#8217; } | Get-VM | Select -ExpandProperty Networkadapters | select vmname , IPAddresses Good Luck<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,21,12,18,14,15],"tags":[],"class_list":["post-2475","post","type-post","status-publish","format-standard","hentry","category-hyper-v","category-operating-systems","category-tutorials","category-virtualization","category-windows","category-windows-server"],"_links":{"self":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/2475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2475"}],"version-history":[{"count":0,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/2475\/revisions"}],"wp:attachment":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}