{"id":316,"date":"2016-10-28T07:13:59","date_gmt":"2016-10-28T07:13:59","guid":{"rendered":"http:\/\/michaelstoica.com\/?p=316"},"modified":"2018-11-09T08:20:48","modified_gmt":"2018-11-09T08:20:48","slug":"how-to-get-a-list-of-virtual-machines-stored-on-a-specific-csv","status":"publish","type":"post","link":"https:\/\/michaelstoica.com\/site\/how-to-get-a-list-of-virtual-machines-stored-on-a-specific-csv\/","title":{"rendered":"How to get a list of virtual machines stored on a specific CSV"},"content":{"rendered":"<p>A while ago\u00a0I received an alert that one of the CSV it&#8217;s almost full \u00a0and I\u00a0\u00a0had to move some of the virtual machines from it, but checking what vms are running on specific CSV it&#8217;s quite difficult in Virtual Machine Manager or Failover Cluster Manager. That&#8217;s something that Microsoft could take from VMware, the possibility to view CSV properties and what VMs are running on it and also intelligent placement of VMs based on I\/O and storage capacity\u00a0(SDRS).<\/p>\n<p>For example in VMM you have to go on each VM and check hardware configuration&gt;disk or in Failover Cluster Manager you have to change the view on Resources tab or you could go on one of the Hyper-V hosts and browse\u00a0C:\\ClusterStorage\\VolumeX.<\/p>\n<p>The fastest way\u00a0is by using the following Powershell command from the VMM Command Shell:\u00a0<em>Get-SCVirtualMachine -VMMServer &lt;vmmservername&gt; -all | where{$_.location -like &#8216;C:\\ClusterStorage\\VolumeX*&#8217;} | Select -Object Name,Location.\u00a0<\/em>This will display a nice list with all of the VMs that are running on VolumeX.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A while ago\u00a0I received an alert that one of the CSV it&#8217;s almost full \u00a0and I\u00a0\u00a0had to move some of the virtual machines from it,&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/michaelstoica.com\/site\/how-to-get-a-list-of-virtual-machines-stored-on-a-specific-csv\/\">Continue reading<span class=\"screen-reader-text\">How to get a list of virtual machines stored on a specific CSV<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[18,15,8,16,9],"class_list":["post-316","post","type-post","status-publish","format-standard","hentry","category-general","tag-clustering","tag-hyper-v","tag-virtualization","tag-vmm","tag-windows-server","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p63Lge-56","_links":{"self":[{"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/posts\/316","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/comments?post=316"}],"version-history":[{"count":6,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/posts\/316\/revisions"}],"predecessor-version":[{"id":520,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/posts\/316\/revisions\/520"}],"wp:attachment":[{"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/media?parent=316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/categories?post=316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/tags?post=316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}