{"id":49332,"date":"2023-05-25T00:00:00","date_gmt":"2023-05-24T22:00:00","guid":{"rendered":"https:\/\/jotelulu.com\/blog\/powershell-commands-for-hyper-v\/"},"modified":"2023-05-25T00:00:00","modified_gmt":"2023-05-24T22:00:00","slug":"powershell-commands-hyper-v","status":"publish","type":"post","link":"https:\/\/jotelulu.com\/en-gb\/blog\/powershell-commands-hyper-v\/","title":{"rendered":"PowerShell Commands for Hyper-V"},"content":{"rendered":"<p>In this article, you&rsquo;ll learn a whole array of&nbsp;<strong>PowerShell commands for Hyper-V <\/strong>to save you time when managing your virtualised infrastructure.<\/p>\n<p><strong>Hyper-V&nbsp;<\/strong>is one of the <strong>most&nbsp;widely used <\/strong>hypervisors in the world, thanks in large part to its <strong>ease of use<\/strong>, making the <strong>transition <\/strong>from physical to virtual machines <strong>much smoother<\/strong>. But as well as this, it also offers <strong>great stability, scalability <\/strong>and <strong>licence benefits <\/strong>when compared with other virtualisation solutions.<\/p>\n<p>Today, we&rsquo;re going to show you how you can use some basic PowerShell commands to speed up tasks when managing your virtual machines. In particular, we&rsquo;ll look at the following:<\/p>\n<ul>\n<li>How to show a list of Hyper-V commands<\/li>\n<li>How to update the PowerShell help files<\/li>\n<li>How to use the PowerShell help files<\/li>\n<li>How to list all the virtual machines (VMs) available on the server<\/li>\n<li>How to start and stop a VM.<\/li>\n<\/ul>\n<p>For any other Hyper-V-related tasks, you can use the graphic interface&hellip; but just for the time being. We promise that we&rsquo;ll be back with more commands in a future article!<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>PowerShell Commands for Hyper-V<\/strong><\/h2>\n<h3><strong>Show available commands for Hyper-V<\/strong><\/h3>\n<p>First of all, it&rsquo;s a good idea to know&nbsp;<strong>what commands (also known as cmdlets) for Hyper-V are available&nbsp;<\/strong>on your device. To do this, run the command&nbsp;<strong>&ldquo;Get-Command -Module hyper-v&rdquo;<\/strong> and you will be shown a list of cmdlets you can use.<\/p>\n<p><em># Get-Command -Module hyper-v<\/em><\/p>\n<p><figure id=\"attachment_18652\" aria-describedby=\"caption-attachment-18652\" style=\"width: 1937px\" class=\"wp-caption alignnone\"><img decoding=\"async\" data-recalc-dims=\"1\" loading=\"lazy\" class=\"wp-image-18652 size-full\" src=\"https:\/\/i0.wp.com\/jotelulu.com\/wp-content\/uploads\/2023\/05\/Imagen.-Visualizacion-de-los-modulos-de-Hyper-V-sin-formato.jpg?resize=800%2C428&amp;ssl=1\" alt=\"Image - Unformatted list of Hyper-V commands\" width=\"800\" height=\"428\"><figcaption id=\"caption-attachment-18652\" class=\"wp-caption-text\">Image &ndash; Unformatted list of Hyper-V commands<\/figcaption><\/figure>\n<\/p>\n<p>You can also&nbsp;<strong>modify the cmdlet&nbsp;<\/strong>so that the output is formatted. The following command shows the results&nbsp;<strong>in a table format<\/strong>.<\/p>\n<p><em># Get-Command -Module hyper-v | Format-Table<\/em><\/p>\n<p><figure id=\"attachment_18650\" aria-describedby=\"caption-attachment-18650\" style=\"width: 1937px\" class=\"wp-caption alignnone\"><img decoding=\"async\" data-recalc-dims=\"1\" loading=\"lazy\" class=\"wp-image-18650 size-full\" src=\"https:\/\/i0.wp.com\/jotelulu.com\/wp-content\/uploads\/2023\/05\/Imagen.-Visualizacion-de-los-modulos-de-Hyper-V-en-formato-de-tabla.jpg?resize=800%2C428&amp;ssl=1\" alt=\"Image - Hyper-V commands in a table format\" width=\"800\" height=\"428\"><figcaption id=\"caption-attachment-18650\" class=\"wp-caption-text\">Image &ndash; Hyper-V commands in a table format<\/figcaption><\/figure>\n<\/p>\n<p>You can also choose to display them in a <strong>l<\/strong><strong>ist format<\/strong>:<\/p>\n<p><em># Get-Command -Module hyper-v | Format-List<\/em><\/p>\n<p><figure id=\"attachment_18649\" aria-describedby=\"caption-attachment-18649\" style=\"width: 1937px\" class=\"wp-caption alignnone\"><img decoding=\"async\" data-recalc-dims=\"1\" loading=\"lazy\" class=\"wp-image-18649 size-full\" src=\"https:\/\/i0.wp.com\/jotelulu.com\/wp-content\/uploads\/2023\/05\/Imagen.-Visualizacion-de-los-modulos-de-Hyper-V-en-formato-de-lista.jpg?resize=800%2C428&amp;ssl=1\" alt=\"Image - Hyper-V commands in a list format\" width=\"800\" height=\"428\"><figcaption id=\"caption-attachment-18649\" class=\"wp-caption-text\">Image &ndash; Hyper-V commands in a list format<\/figcaption><\/figure>\n<\/p>\n<p>You can even display the results <strong>in a separate window<\/strong>:<\/p>\n<p><em># Get-Command -Module hyper-v | Out-GridView<\/em><\/p>\n<p><figure id=\"attachment_18651\" aria-describedby=\"caption-attachment-18651\" style=\"width: 1937px\" class=\"wp-caption alignnone\"><img decoding=\"async\" data-recalc-dims=\"1\" loading=\"lazy\" class=\"wp-image-18651 size-full\" src=\"https:\/\/i0.wp.com\/jotelulu.com\/wp-content\/uploads\/2023\/05\/Imagen.-Visualizacion-de-los-modulos-de-Hyper-V-en-ventana-emergente.jpg?resize=800%2C428&amp;ssl=1\" alt=\"Image - List of Hyper-V commands in a separate window\" width=\"800\" height=\"428\"><figcaption id=\"caption-attachment-18651\" class=\"wp-caption-text\">Image &ndash; List of Hyper-V commands in a separate window<\/figcaption><\/figure>\n<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Update the PowerShell help files<\/strong><\/h3>\n<p>Personally, I think that one of the first things you should do when working with any application, system or service is to <strong>update everything that can possibly be updated<\/strong>, and that includes the <strong>help files<\/strong>.<\/p>\n<p>In the case of PowerShell, this can be done with just one simple command, <strong>&laquo;<\/strong><strong>Update-Help&raquo;<\/strong>:<\/p>\n<p><em># Update-Help<\/em><\/p>\n<p><figure id=\"attachment_18641\" aria-describedby=\"caption-attachment-18641\" style=\"width: 1937px\" class=\"wp-caption alignnone\"><img decoding=\"async\" data-recalc-dims=\"1\" loading=\"lazy\" class=\"wp-image-18641 size-full\" src=\"https:\/\/i0.wp.com\/jotelulu.com\/wp-content\/uploads\/2023\/05\/Imagen.-Actualizacion-de-la-ayuda-de-PowerShell-con-el-comando-Update-Help.jpg?resize=800%2C428&amp;ssl=1\" alt=\"Image - Updating PowerShell help files using the Update-Help command\" width=\"800\" height=\"428\"><figcaption id=\"caption-attachment-18641\" class=\"wp-caption-text\">Image &ndash; Updating PowerShell help files using the Update-Help command<\/figcaption><\/figure>\n<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Use the PowerShell help files<\/strong><\/h3>\n<p>Next, you need to know how to&nbsp;<strong>load the help files for these commands<\/strong>.<\/p>\n<p>You can do this by entering <strong>&laquo;<\/strong><strong>Get-Help &lt;PowerShell Command&gt;&raquo;<\/strong>, swapping &lt;PowerShell Command&gt;&raquo; for the command that you&rsquo;re interested in.<\/p>\n<p>For example, to find out more about the &laquo;Get-VM&raquo; command, type the following:<\/p>\n<p><em># Get-Help Get-VM<\/em><\/p>\n<p><strong>NOTE:<\/strong> <em>If you haven&rsquo;t updated the help files first, you might be prompted to do so.<\/em><\/p>\n<p><figure id=\"attachment_18642\" aria-describedby=\"caption-attachment-18642\" style=\"width: 1937px\" class=\"wp-caption alignnone\"><img decoding=\"async\" data-recalc-dims=\"1\" loading=\"lazy\" class=\"wp-image-18642 size-full\" src=\"https:\/\/i0.wp.com\/jotelulu.com\/wp-content\/uploads\/2023\/05\/Imagen.-Consulta-de-la-ayuda-de-Get-VM.jpg?resize=800%2C428&amp;ssl=1\" alt=\"Image - Consulting the help file for 'Get-VM'\" width=\"800\" height=\"428\"><figcaption id=\"caption-attachment-18642\" class=\"wp-caption-text\">Image &ndash; Consulting the help file for &lsquo;Get-VM&rsquo;<\/figcaption><\/figure>\n<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>List the Available Virtual Machines on your Hyper-V Server<\/strong><\/h3>\n<p>Next, we&rsquo;re going to see how you can list all the available VMs on your Hyper-V server.<\/p>\n<p>First, <strong>we&rsquo;ll just ask for a list of machines <\/strong>using the <strong>&laquo;<\/strong><strong>Get-VM&raquo; without any modifiers.<\/strong><\/p>\n<p><em># Get-VM<\/em><\/p>\n<p><figure id=\"attachment_18646\" aria-describedby=\"caption-attachment-18646\" style=\"width: 1937px\" class=\"wp-caption alignnone\"><img decoding=\"async\" data-recalc-dims=\"1\" loading=\"lazy\" class=\"wp-image-18646 size-full\" src=\"https:\/\/i0.wp.com\/jotelulu.com\/wp-content\/uploads\/2023\/05\/Imagen.-Listado-de-las-maquinas-virtuales-disponibles-en-el-servidor-de-Hyper-V.jpg?resize=800%2C428&amp;ssl=1\" alt=\"Image - List of VMs on the Hyper-V server\" width=\"800\" height=\"428\"><figcaption id=\"caption-attachment-18646\" class=\"wp-caption-text\">Image &ndash; List of VMs on the Hyper-V server<\/figcaption><\/figure>\n<\/p>\n<p>By using modifiers, you can also <strong>show just the VMs in a specific state<\/strong>, like <strong>&lsquo;running&rsquo; or &lsquo;off&rsquo;<\/strong>.<\/p>\n<p><em>Get-VM | where {$_.State -eq &lsquo;Running&rsquo;}<\/em><\/p>\n<p><em>Get-VM | where {$_.State -eq &lsquo;Off&rsquo;}<\/em><\/p>\n<p><figure id=\"attachment_18647\" aria-describedby=\"caption-attachment-18647\" style=\"width: 1937px\" class=\"wp-caption alignnone\"><img decoding=\"async\" data-recalc-dims=\"1\" loading=\"lazy\" class=\"wp-image-18647 size-full\" src=\"https:\/\/i0.wp.com\/jotelulu.com\/wp-content\/uploads\/2023\/05\/Imagen.-Listado-de-las-maquinas-virtuales-encendidas-y-apagadas-en-el-servidor-de-Hyper-V.jpg?resize=800%2C428&amp;ssl=1\" alt=\"Image - List of running and stopped VMs on the Hyper-V serverPowershell\" width=\"800\" height=\"428\"><figcaption id=\"caption-attachment-18647\" class=\"wp-caption-text\">Image &ndash; List of running and off VMs on the Hyper-V server<\/figcaption><\/figure>\n<\/p>\n<p>You can also <strong>search for a specific VM <\/strong>using the modifier &lsquo;<strong>characteristic <\/strong><strong>&ldquo;$_.Name&rdquo;&rsquo;<\/strong>:<\/p>\n<p><em>Get-VM | where {$_.Name -eq &lsquo;&lt;Name&gt;&rsquo;}<\/em><\/p>\n<p>Where:<\/p>\n<ul>\n<li>&lt;Name&gt; is the name of the VM you want to show.<\/li>\n<\/ul>\n<p><figure id=\"attachment_18648\" aria-describedby=\"caption-attachment-18648\" style=\"width: 1937px\" class=\"wp-caption alignnone\"><img decoding=\"async\" data-recalc-dims=\"1\" loading=\"lazy\" class=\"wp-image-18648 size-full\" src=\"https:\/\/i0.wp.com\/jotelulu.com\/wp-content\/uploads\/2023\/05\/Imagen.-Mostrando-una-maquina-virtual-en-el-servidor-de-Hyper-V-en-funcion-del-nombre.jpg?resize=800%2C428&amp;ssl=1\" alt=\"Image - Showing a specific VM filtering by name\" width=\"800\" height=\"428\"><figcaption id=\"caption-attachment-18648\" class=\"wp-caption-text\">Image &ndash; Showing a specific VM filtering by name<\/figcaption><\/figure>\n<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Starting and Stopping VMs Using PowerShell Commands<\/strong><\/h3>\n<p>Now that you&rsquo;ve learnt how to use the help files and query the available VMs, it&rsquo;s time to learn how to&nbsp;<strong>start and stop them<\/strong>.<\/p>\n<p>To this, we will use the rather unoriginal&nbsp;<strong>commands <\/strong><strong>&laquo;Start-VM&raquo; and &laquo;Stop-VM&raquo;<\/strong>. All you need to do is <strong>add the name of the VM&nbsp;<\/strong>that you want to start or stop.<\/p>\n<p><em># Start-VM -Name &lt;Name&gt;<\/em><\/p>\n<p>And<\/p>\n<p><em># Stop-VM -Name &lt;Name&gt;<\/em><\/p>\n<p>So, for example, if you want to stop a VM called &laquo;Nacho&raquo;, you should use the following command:<\/p>\n<p><em># Stop-VM -Name Nacho<\/em><\/p>\n<p><figure id=\"attachment_18644\" aria-describedby=\"caption-attachment-18644\" style=\"width: 1937px\" class=\"wp-caption alignnone\"><img decoding=\"async\" data-recalc-dims=\"1\" loading=\"lazy\" class=\"wp-image-18644 size-full\" src=\"https:\/\/i0.wp.com\/jotelulu.com\/wp-content\/uploads\/2023\/05\/Imagen.-Encendido-de-una-VM-de-Hyper-V-mediante-PowerShell.jpg?resize=800%2C428&amp;ssl=1\" alt=\"Image - Starting a VM using PowerShell\" width=\"800\" height=\"428\"><figcaption id=\"caption-attachment-18644\" class=\"wp-caption-text\">Image &ndash; Starting a VM using PowerShell<\/figcaption><\/figure>\n<\/p>\n<p>You can also&nbsp;<strong>combine commands&nbsp;<\/strong>in order to list the VMs that are currently off and then start them. Here&rsquo;s an example:<\/p>\n<p><em># Get-VM | where {$_.State -eq &lsquo;Off&rsquo;} | Start-VM<\/em><\/p>\n<p>Let&rsquo;s break this down for a second. First, we use the <strong>&laquo;Get-VM&raquo; command with the modifier &laquo;where {_.State -eq &lsquo;Off&rsquo;}&nbsp;<\/strong>to return a list of VMs that are not running. Then we add the&nbsp;<strong>&laquo;Start-VM&raquo; command&nbsp;<\/strong>to start just these machines. The important element here is the&nbsp;<strong>&laquo;|&raquo; symbol&nbsp;<\/strong>to link these commands together.<\/p>\n<p>You can stop any running machines in a similar way:<\/p>\n<p><em># Get-VM | where {$_.State -eq &lsquo;Running&rsquo;} | Stop-VM<\/em><\/p>\n<p><figure id=\"attachment_18643\" aria-describedby=\"caption-attachment-18643\" style=\"width: 1937px\" class=\"wp-caption alignnone\"><img decoding=\"async\" data-recalc-dims=\"1\" loading=\"lazy\" class=\"wp-image-18643 size-full\" src=\"https:\/\/i0.wp.com\/jotelulu.com\/wp-content\/uploads\/2023\/05\/Imagen.-Encendido-de-maquinas-virtuales-de-Hyper-V-mediante-PowerShell.jpg?resize=800%2C428&amp;ssl=1\" alt=\"Image - Stopping VMs that are running using PowerShell\" width=\"800\" height=\"428\"><figcaption id=\"caption-attachment-18643\" class=\"wp-caption-text\">Image &ndash; Stopping VMs that are running using PowerShell<\/figcaption><\/figure>\n<\/p>\n<p>These are just some basic PowerShell commands to manage your virtualised infrastructure, but they won&rsquo;t be the last. We&rsquo;ll be back soon with some more commands to help save you even more time!<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>Summary<\/strong><\/h2>\n<p>As you can see, managing your <strong>Hyper-V server with PowerShell commands <\/strong>is really very straightforward and can save you a lot of time and effort compared to the graphic interface.<\/p>\n<p>If you&rsquo;re interested in finding out more about this topic and would like to run some tests on your desktop, check out our tutorial on <a href=\"https:\/\/jotelulu.com\/en-gb\/support\/tutorials\/how-to-install-hyper-v-on-windows-10\/\" target=\"_blank\" rel=\"noopener\">How to Install Hyper-V on Windows 10<\/a>.<\/p>\n<p>Furthermore, you can consult our blog for other tutorials and articles related to <a href=\"https:\/\/jotelulu.com\/en-gb\/?s=hyper-v\" target=\"_blank\" rel=\"noopener\">Hyper-V<\/a>.<\/p>\n<p>Thanks for reading!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, you&rsquo;ll learn a whole array of&nbsp;PowerShell commands for Hyper-V to save you time when managing your virtualised infrastructure. Hyper-V&nbsp;is one of the most&nbsp;widely used hypervisors in the world, thanks in large part to its ease of use, making the transition from physical to virtual machines much smoother. But as well as this, [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":18661,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[13],"tags":[],"class_list":["post-49332","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-y-sistemas"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PowerShell Commands for Hyper-V<\/title>\n<meta name=\"description\" content=\"In this article, discover the\u00a0PowerShell commands for managing Hyper-V machines\u00a0and save time administrating your virtualised infrastructure.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jotelulu.com\/en-gb\/blog\/powershell-commands-hyper-v\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PowerShell Commands for Hyper-V\" \/>\n<meta property=\"og:description\" content=\"In this article, discover the\u00a0PowerShell commands for managing Hyper-V machines\u00a0and save time administrating your virtualised infrastructure.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jotelulu.com\/en-gb\/blog\/powershell-commands-hyper-v\/\" \/>\n<meta property=\"og:site_name\" content=\"Jotelulu\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-24T22:00:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jotelulu.com\/wp-content\/uploads\/2023\/05\/Comandos-de-Powershell-Hyper-V-scaled-2.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1548\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Juan Ignacio Oller Aznar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Juan Ignacio Oller Aznar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/powershell-commands-hyper-v\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/powershell-commands-hyper-v\\\/\"},\"author\":{\"name\":\"Juan Ignacio Oller Aznar\",\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/#\\\/schema\\\/person\\\/2ae97818cae086c48f108cd74234aca9\"},\"headline\":\"PowerShell Commands for Hyper-V\",\"datePublished\":\"2023-05-24T22:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/powershell-commands-hyper-v\\\/\"},\"wordCount\":1028,\"image\":{\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/powershell-commands-hyper-v\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/jotelulu.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/Comandos-de-Powershell-Hyper-V-scaled-2.jpg\",\"articleSection\":[\"Cloud y sistemas\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/powershell-commands-hyper-v\\\/\",\"url\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/powershell-commands-hyper-v\\\/\",\"name\":\"PowerShell Commands for Hyper-V\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/powershell-commands-hyper-v\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/powershell-commands-hyper-v\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/jotelulu.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/Comandos-de-Powershell-Hyper-V-scaled-2.jpg\",\"datePublished\":\"2023-05-24T22:00:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/#\\\/schema\\\/person\\\/2ae97818cae086c48f108cd74234aca9\"},\"description\":\"In this article, discover the\u00a0PowerShell commands for managing Hyper-V machines\u00a0and save time administrating your virtualised infrastructure.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/powershell-commands-hyper-v\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/powershell-commands-hyper-v\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/powershell-commands-hyper-v\\\/#primaryimage\",\"url\":\"https:\\\/\\\/jotelulu.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/Comandos-de-Powershell-Hyper-V-scaled-2.jpg\",\"contentUrl\":\"https:\\\/\\\/jotelulu.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/Comandos-de-Powershell-Hyper-V-scaled-2.jpg\",\"width\":2560,\"height\":1548,\"caption\":\"Comandos Powershell para gestionar m\u00e1quinas virtuales de Hyper-V\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/powershell-commands-hyper-v\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PowerShell Commands for Hyper-V\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/#website\",\"url\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/\",\"name\":\"Jotelulu\",\"description\":\"Cloud Paradise for Tech Companies\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/#\\\/schema\\\/person\\\/2ae97818cae086c48f108cd74234aca9\",\"name\":\"Juan Ignacio Oller Aznar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/87efd80399b2c40a1d78dd5cee4e788d3f6c29d33e3b67bcfbc6abbf91d0fdcf?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/87efd80399b2c40a1d78dd5cee4e788d3f6c29d33e3b67bcfbc6abbf91d0fdcf?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/87efd80399b2c40a1d78dd5cee4e788d3f6c29d33e3b67bcfbc6abbf91d0fdcf?s=96&d=mm&r=g\",\"caption\":\"Juan Ignacio Oller Aznar\"},\"url\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/author\\\/juanignaciooller\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PowerShell Commands for Hyper-V","description":"In this article, discover the\u00a0PowerShell commands for managing Hyper-V machines\u00a0and save time administrating your virtualised infrastructure.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jotelulu.com\/en-gb\/blog\/powershell-commands-hyper-v\/","og_locale":"en_GB","og_type":"article","og_title":"PowerShell Commands for Hyper-V","og_description":"In this article, discover the\u00a0PowerShell commands for managing Hyper-V machines\u00a0and save time administrating your virtualised infrastructure.","og_url":"https:\/\/jotelulu.com\/en-gb\/blog\/powershell-commands-hyper-v\/","og_site_name":"Jotelulu","article_published_time":"2023-05-24T22:00:00+00:00","og_image":[{"width":2560,"height":1548,"url":"https:\/\/jotelulu.com\/wp-content\/uploads\/2023\/05\/Comandos-de-Powershell-Hyper-V-scaled-2.jpg","type":"image\/jpeg"}],"author":"Juan Ignacio Oller Aznar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Juan Ignacio Oller Aznar","Estimated reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jotelulu.com\/en-gb\/blog\/powershell-commands-hyper-v\/#article","isPartOf":{"@id":"https:\/\/jotelulu.com\/en-gb\/blog\/powershell-commands-hyper-v\/"},"author":{"name":"Juan Ignacio Oller Aznar","@id":"https:\/\/jotelulu.com\/en-gb\/#\/schema\/person\/2ae97818cae086c48f108cd74234aca9"},"headline":"PowerShell Commands for Hyper-V","datePublished":"2023-05-24T22:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/jotelulu.com\/en-gb\/blog\/powershell-commands-hyper-v\/"},"wordCount":1028,"image":{"@id":"https:\/\/jotelulu.com\/en-gb\/blog\/powershell-commands-hyper-v\/#primaryimage"},"thumbnailUrl":"https:\/\/jotelulu.com\/wp-content\/uploads\/2023\/05\/Comandos-de-Powershell-Hyper-V-scaled-2.jpg","articleSection":["Cloud y sistemas"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/jotelulu.com\/en-gb\/blog\/powershell-commands-hyper-v\/","url":"https:\/\/jotelulu.com\/en-gb\/blog\/powershell-commands-hyper-v\/","name":"PowerShell Commands for Hyper-V","isPartOf":{"@id":"https:\/\/jotelulu.com\/en-gb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jotelulu.com\/en-gb\/blog\/powershell-commands-hyper-v\/#primaryimage"},"image":{"@id":"https:\/\/jotelulu.com\/en-gb\/blog\/powershell-commands-hyper-v\/#primaryimage"},"thumbnailUrl":"https:\/\/jotelulu.com\/wp-content\/uploads\/2023\/05\/Comandos-de-Powershell-Hyper-V-scaled-2.jpg","datePublished":"2023-05-24T22:00:00+00:00","author":{"@id":"https:\/\/jotelulu.com\/en-gb\/#\/schema\/person\/2ae97818cae086c48f108cd74234aca9"},"description":"In this article, discover the\u00a0PowerShell commands for managing Hyper-V machines\u00a0and save time administrating your virtualised infrastructure.","breadcrumb":{"@id":"https:\/\/jotelulu.com\/en-gb\/blog\/powershell-commands-hyper-v\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jotelulu.com\/en-gb\/blog\/powershell-commands-hyper-v\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/jotelulu.com\/en-gb\/blog\/powershell-commands-hyper-v\/#primaryimage","url":"https:\/\/jotelulu.com\/wp-content\/uploads\/2023\/05\/Comandos-de-Powershell-Hyper-V-scaled-2.jpg","contentUrl":"https:\/\/jotelulu.com\/wp-content\/uploads\/2023\/05\/Comandos-de-Powershell-Hyper-V-scaled-2.jpg","width":2560,"height":1548,"caption":"Comandos Powershell para gestionar m\u00e1quinas virtuales de Hyper-V"},{"@type":"BreadcrumbList","@id":"https:\/\/jotelulu.com\/en-gb\/blog\/powershell-commands-hyper-v\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/jotelulu.com\/en-gb\/"},{"@type":"ListItem","position":2,"name":"PowerShell Commands for Hyper-V"}]},{"@type":"WebSite","@id":"https:\/\/jotelulu.com\/en-gb\/#website","url":"https:\/\/jotelulu.com\/en-gb\/","name":"Jotelulu","description":"Cloud Paradise for Tech Companies","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jotelulu.com\/en-gb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/jotelulu.com\/en-gb\/#\/schema\/person\/2ae97818cae086c48f108cd74234aca9","name":"Juan Ignacio Oller Aznar","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/87efd80399b2c40a1d78dd5cee4e788d3f6c29d33e3b67bcfbc6abbf91d0fdcf?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/87efd80399b2c40a1d78dd5cee4e788d3f6c29d33e3b67bcfbc6abbf91d0fdcf?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/87efd80399b2c40a1d78dd5cee4e788d3f6c29d33e3b67bcfbc6abbf91d0fdcf?s=96&d=mm&r=g","caption":"Juan Ignacio Oller Aznar"},"url":"https:\/\/jotelulu.com\/en-gb\/author\/juanignaciooller\/"}]}},"_links":{"self":[{"href":"https:\/\/jotelulu.com\/en-gb\/wp-json\/wp\/v2\/posts\/49332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jotelulu.com\/en-gb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jotelulu.com\/en-gb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jotelulu.com\/en-gb\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/jotelulu.com\/en-gb\/wp-json\/wp\/v2\/comments?post=49332"}],"version-history":[{"count":0,"href":"https:\/\/jotelulu.com\/en-gb\/wp-json\/wp\/v2\/posts\/49332\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jotelulu.com\/en-gb\/wp-json\/wp\/v2\/media\/18661"}],"wp:attachment":[{"href":"https:\/\/jotelulu.com\/en-gb\/wp-json\/wp\/v2\/media?parent=49332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jotelulu.com\/en-gb\/wp-json\/wp\/v2\/categories?post=49332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jotelulu.com\/en-gb\/wp-json\/wp\/v2\/tags?post=49332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}