{"id":2042,"date":"2013-02-10T19:31:30","date_gmt":"2013-02-11T03:31:30","guid":{"rendered":"http:\/\/www.brainlitter.com\/?p=2042"},"modified":"2013-02-10T19:31:30","modified_gmt":"2013-02-11T03:31:30","slug":"which-hyper-v-host-am-i-on","status":"publish","type":"post","link":"https:\/\/regroove.ca\/brainlitter\/2013\/02\/10\/which-hyper-v-host-am-i-on\/","title":{"rendered":"Which Hyper-V Host Am I on?"},"content":{"rendered":"<p>I was trying to determine which Hyper-V host I was on today.\u00a0 I discovered that this setting is captured in the registry (perhaps there is a way in the GUI to find it quickly but I didn\u2019t see anything that stood out).<\/p>\n<p>So, with some handy PowerShell (this should work on Windows Server 2008, 2008 R2 and 2012 Guests, I was able to determine it quickly and I\u2019ve tucked this away for another time and maybe it will help you too.<\/p>\n<h2>How to determine what Hyper-V host your guest is on, from the Guest itself<\/h2>\n<div id=\"codeSnippetWrapper\" style=\"overflow: auto;cursor: text;font-size: 8pt;font-family: 'Courier New', courier, monospace;direction: ltr;text-align: left;margin: 20px 0px 10px;line-height: 12pt;width: 97.5%;background-color: #f4f4f4;border: silver 1px solid;padding: 4px\">\n<div id=\"codeSnippet\" style=\"overflow: visible;font-size: 8pt;font-family: 'Courier New', courier, monospace;color: black;direction: ltr;text-align: left;line-height: 12pt;width: 100%;background-color: #f4f4f4;border-style: none;padding: 0px\">\n<pre style=\"overflow: visible;font-size: 8pt;font-family: 'Courier New', courier, monospace;color: black;direction: ltr;text-align: left;margin: 0em;line-height: 12pt;width: 100%;background-color: white;border-style: none;padding: 0px\"><span id=\"lnum1\" style=\"color: #606060\">   1:<\/span> (Get-ItemProperty \u2013path <span style=\"color: #006080\">\"HKLM:SOFTWAREMicrosoftVirtual MachineGuestParameters\"<\/span>).PhysicalHostName<\/pre>\n<p><!--CRLF--><\/p>\n<\/div>\n<\/div>\n<p>And you should end up with this\u2026<\/p>\n<p><a href=\"\/wp-content\/uploads\/brainlitter\/2013\/02\/image9.png\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-top: 0px;padding-left: 0px;padding-right: 0px;border: 0px\" title=\"image\" src=\"\/wp-content\/uploads\/brainlitter\/2013\/02\/image_thumb9.png\" alt=\"image\" width=\"744\" height=\"93\" border=\"0\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was trying to determine which Hyper-V host I was on today.\u00a0 I discovered that this setting is captured in the registry (perhaps there is a way in the GUI to find it quickly but I didn\u2019t see anything that stood out). So, with some handy PowerShell (this should work on Windows Server 2008, 2008 &hellip; <a href=\"https:\/\/regroove.ca\/brainlitter\/2013\/02\/10\/which-hyper-v-host-am-i-on\/\"><\/a><\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false},"categories":[445,222,223],"tags":[784,621,243],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Which Hyper-V Host Am I on? - Brainlitter - Inside the mind of Sean Wallbridge<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/regroove.ca\/brainlitter\/2013\/02\/10\/which-hyper-v-host-am-i-on\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Which Hyper-V Host Am I on? - Brainlitter - Inside the mind of Sean Wallbridge\" \/>\n<meta property=\"og:description\" content=\"I was trying to determine which Hyper-V host I was on today.\u00a0 I discovered that this setting is captured in the registry (perhaps there is a way in the GUI to find it quickly but I didn\u2019t see anything that stood out). So, with some handy PowerShell (this should work on Windows Server 2008, 2008 &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/regroove.ca\/brainlitter\/2013\/02\/10\/which-hyper-v-host-am-i-on\/\" \/>\n<meta property=\"og:site_name\" content=\"Brainlitter - Inside the mind of Sean Wallbridge\" \/>\n<meta property=\"article:published_time\" content=\"2013-02-11T03:31:30+00:00\" \/>\n<meta name=\"author\" content=\"Sean Wallbridge\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sean Wallbridge\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/2013\/02\/10\/which-hyper-v-host-am-i-on\/\",\"url\":\"https:\/\/regroove.ca\/brainlitter\/2013\/02\/10\/which-hyper-v-host-am-i-on\/\",\"name\":\"Which Hyper-V Host Am I on? - Brainlitter - Inside the mind of Sean Wallbridge\",\"isPartOf\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#website\"},\"datePublished\":\"2013-02-11T03:31:30+00:00\",\"dateModified\":\"2013-02-11T03:31:30+00:00\",\"author\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\"},\"breadcrumb\":{\"@id\":\"https:\/\/regroove.ca\/brainlitter\/2013\/02\/10\/which-hyper-v-host-am-i-on\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/regroove.ca\/brainlitter\/2013\/02\/10\/which-hyper-v-host-am-i-on\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/2013\/02\/10\/which-hyper-v-host-am-i-on\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Brainlitter\",\"item\":\"https:\/\/regroove.ca\/brainlitter\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Which Hyper-V Host Am I on?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#website\",\"url\":\"https:\/\/regroove.ca\/brainlitter\/\",\"name\":\"Brainlitter - Inside the mind of Sean Wallbridge\",\"description\":\"Dad. Husband. Drummer. Learner of Things.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/regroove.ca\/brainlitter\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77\",\"name\":\"Sean Wallbridge\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g\",\"caption\":\"Sean Wallbridge\"},\"url\":\"https:\/\/regroove.ca\/brainlitter\/author\/swallbridge\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Which Hyper-V Host Am I on? - Brainlitter - Inside the mind of Sean Wallbridge","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:\/\/regroove.ca\/brainlitter\/2013\/02\/10\/which-hyper-v-host-am-i-on\/","og_locale":"en_US","og_type":"article","og_title":"Which Hyper-V Host Am I on? - Brainlitter - Inside the mind of Sean Wallbridge","og_description":"I was trying to determine which Hyper-V host I was on today.\u00a0 I discovered that this setting is captured in the registry (perhaps there is a way in the GUI to find it quickly but I didn\u2019t see anything that stood out). So, with some handy PowerShell (this should work on Windows Server 2008, 2008 &hellip;","og_url":"https:\/\/regroove.ca\/brainlitter\/2013\/02\/10\/which-hyper-v-host-am-i-on\/","og_site_name":"Brainlitter - Inside the mind of Sean Wallbridge","article_published_time":"2013-02-11T03:31:30+00:00","author":"Sean Wallbridge","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sean Wallbridge","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/regroove.ca\/brainlitter\/2013\/02\/10\/which-hyper-v-host-am-i-on\/","url":"https:\/\/regroove.ca\/brainlitter\/2013\/02\/10\/which-hyper-v-host-am-i-on\/","name":"Which Hyper-V Host Am I on? - Brainlitter - Inside the mind of Sean Wallbridge","isPartOf":{"@id":"https:\/\/regroove.ca\/brainlitter\/#website"},"datePublished":"2013-02-11T03:31:30+00:00","dateModified":"2013-02-11T03:31:30+00:00","author":{"@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77"},"breadcrumb":{"@id":"https:\/\/regroove.ca\/brainlitter\/2013\/02\/10\/which-hyper-v-host-am-i-on\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/regroove.ca\/brainlitter\/2013\/02\/10\/which-hyper-v-host-am-i-on\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/regroove.ca\/brainlitter\/2013\/02\/10\/which-hyper-v-host-am-i-on\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Brainlitter","item":"https:\/\/regroove.ca\/brainlitter\/"},{"@type":"ListItem","position":2,"name":"Which Hyper-V Host Am I on?"}]},{"@type":"WebSite","@id":"https:\/\/regroove.ca\/brainlitter\/#website","url":"https:\/\/regroove.ca\/brainlitter\/","name":"Brainlitter - Inside the mind of Sean Wallbridge","description":"Dad. Husband. Drummer. Learner of Things.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/regroove.ca\/brainlitter\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/74e1c0def190f181c1394c2b6d883e77","name":"Sean Wallbridge","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/regroove.ca\/brainlitter\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/adf8cea6291c39d166616f2148d919a6?s=96&d=mm&r=g","caption":"Sean Wallbridge"},"url":"https:\/\/regroove.ca\/brainlitter\/author\/swallbridge\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts\/2042"}],"collection":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/comments?post=2042"}],"version-history":[{"count":0,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/posts\/2042\/revisions"}],"wp:attachment":[{"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/media?parent=2042"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/categories?post=2042"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/regroove.ca\/brainlitter\/wp-json\/wp\/v2\/tags?post=2042"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}