{"id":3762,"date":"2013-04-24T11:59:00","date_gmt":"2013-04-24T11:59:00","guid":{"rendered":"https:\/\/blogs.technet.microsoft.com\/heyscriptingguy\/2013\/04\/24\/powertip-use-powershell-to-find-virtual-machine-dvd-info\/"},"modified":"2013-04-24T11:59:00","modified_gmt":"2013-04-24T11:59:00","slug":"powertip-use-powershell-to-find-virtual-machine-dvd-info","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/scripting\/powertip-use-powershell-to-find-virtual-machine-dvd-info\/","title":{"rendered":"PowerTip: Use PowerShell to Find Virtual Machine DVD Info"},"content":{"rendered":"<p><strong>Summary<\/strong>: Use Windows PowerShell to find Hyper-V DVD information in Windows 8 or Windows Server 2012.\n&nbsp;<br \/> <img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/q-for-powertip.jpg\" alt=\"Hey, Scripting Guy! Question\">&nbsp;How can I use Windows PowerShell in Windows 8 or Windows Server 2012 to find Hyper-V virtual machine DVD disk information?<\/p>\n<p style=\"padding-left: 60px\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/29\/2019\/02\/a-for-powertip.jpg\" alt=\"Hey, Scripting Guy! Answer\">&nbsp;Use the <strong>Get-VM<\/strong> cmdlet and pipe the output to <strong>the Get-VMDvdDrive<\/strong> cmdlet:<\/p>\n<p style=\"padding-left: 150px\">PS C:&gt; get-vm | Get-VMDvdDrive<\/p>\n<p style=\"padding-left: 150px\">VMName ControllerType ControllerNumber ControllerLocation DvdMediaType Path<\/p>\n<p style=\"padding-left: 150px\">&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212;-<\/p>\n<p style=\"padding-left: 150px\">c1 IDE 1 0 ISO C:WINDOWS&#8230;<\/p>\n<p style=\"padding-left: 150px\">C2 IDE 1 0 None<\/p>\n<p style=\"padding-left: 150px\">DC1 IDE 1 0 None<\/p>\n<p style=\"padding-left: 150px\">sql1 IDE 1 0 None\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Summary: Use Windows PowerShell to find Hyper-V DVD information in Windows 8 or Windows Server 2012. &nbsp; &nbsp;How can I use Windows PowerShell in Windows 8 or Windows Server 2012 to find Hyper-V virtual machine DVD disk information? &nbsp;Use the Get-VM cmdlet and pipe the output to the Get-VMDvdDrive cmdlet: PS C:&gt; get-vm | Get-VMDvdDrive [&hellip;]<\/p>\n","protected":false},"author":595,"featured_media":87096,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[356,3,45],"class_list":["post-3762","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-scripting","tag-powertip","tag-scripting-guy","tag-windows-powershell"],"acf":[],"blog_post_summary":"<p>Summary: Use Windows PowerShell to find Hyper-V DVD information in Windows 8 or Windows Server 2012. &nbsp; &nbsp;How can I use Windows PowerShell in Windows 8 or Windows Server 2012 to find Hyper-V virtual machine DVD disk information? &nbsp;Use the Get-VM cmdlet and pipe the output to the Get-VMDvdDrive cmdlet: PS C:&gt; get-vm | Get-VMDvdDrive [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/3762","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/users\/595"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/comments?post=3762"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/posts\/3762\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/media\/87096"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/media?parent=3762"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/categories?post=3762"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/scripting\/wp-json\/wp\/v2\/tags?post=3762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}