{"id":3525,"date":"2018-08-02T02:59:15","date_gmt":"2018-08-02T02:59:15","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=3525"},"modified":"2018-08-02T02:59:15","modified_gmt":"2018-08-02T02:59:15","slug":"hyper-v-match-virtual-disks-to-windows-disks-2008-r2","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/random\/hyper-v-match-virtual-disks-to-windows-disks-2008-r2","title":{"rendered":"hyper v match virtual disks to windows disks 2008 r2"},"content":{"rendered":"<p>Recently I need to remove an Empty Virtual Disk from a Hyper V machine<\/p><p>On Server 2012 Machines you can run\u00a0<\/p><pre><span class=\"kwd\">get<\/span><span class=\"pun\">-<\/span><span class=\"pln\">disk<\/span> <span class=\"pun\">|<\/span><span class=\"pln\"> fl objectID<\/span><\/pre><p>And use the Last X.X.X numbers (e.g.\u00a05&amp;2D5F53A1&amp;0&amp;<strong>0.0.0<\/strong> )\u00a0<\/p><p>First\u00a0number means IDE controller number, the second one means the location<\/p><p>&nbsp;<\/p><p id=\"eKXdJnX\"><img loading=\"lazy\" decoding=\"async\" width=\"632\" height=\"107\" class=\"alignnone size-full wp-image-3526  img-responsive\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2018\/08\/img_5b627252ebf7a.png\" alt=\"\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2018\/08\/img_5b627252ebf7a.png 632w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2018\/08\/img_5b627252ebf7a-300x51.png 300w\" sizes=\"auto, (max-width: 632px) 100vw, 632px\" \/><\/p><p>&nbsp;<\/p><p>However in Server 2008 r2 :\u00a0<strong>get-disk : The term &#8216;get-disk&#8217; is not recognized as the name of a cmdlet<\/strong><\/p><p>So in Server 2008 r2 you will need to navigate to the hardware ID&#8217;s of the device per below which will give you the location of your Device ( ATA Device is IDE and SCSI Device is SCSI )<\/p><p id=\"EurDCLh\"><img loading=\"lazy\" decoding=\"async\" width=\"1359\" height=\"796\" class=\"alignnone size-full wp-image-3527  img-responsive\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2018\/08\/img_5b6272ffa0102.png\" alt=\"\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2018\/08\/img_5b6272ffa0102.png 1359w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2018\/08\/img_5b6272ffa0102-300x176.png 300w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2018\/08\/img_5b6272ffa0102-768x450.png 768w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2018\/08\/img_5b6272ffa0102-1024x600.png 1024w\" sizes=\"auto, (max-width: 1359px) 100vw, 1359px\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>Recently I need to remove an Empty Virtual Disk from a Hyper V machineOn Server 2012 Machines you can run\u00a0get-disk | fl objectIDAnd use the Last X.X.X [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[642,2593,2450,2595,2594],"class_list":["post-3525","post","type-post","status-publish","format-standard","hentry","category-random","tag-2008-r2","tag-get-disk-the-term-get-disk-is-not-recognized-as-the-name-of-a-cmdlet","tag-hyper-v","tag-hyper-v-match-virtual-disks-to-windows-disks","tag-match-vhdx-to-windows-disk"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3525","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=3525"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3525\/revisions"}],"predecessor-version":[{"id":3528,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3525\/revisions\/3528"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=3525"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=3525"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=3525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}