{"id":9735,"date":"2009-07-02T15:38:00","date_gmt":"1999-11-29T20:00:00","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=9735"},"modified":"2009-07-02T15:38:00","modified_gmt":"1999-11-29T20:00:00","slug":"manually-refreshing-a-vm-in-vmm-2008","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=9735","title":{"rendered":"Manually Refreshing a VM in VMM 2008"},"content":{"rendered":"<p>VMM 2008 regularly refreshes a VM to retrieve it\u2019s configuration and settings, e.g. what ISO is mounted. What happens if you manage a machine directly in Hyper-V?\u00a0 That change won\u2019t be reflected immediately in VMM.\u00a0 So you might need to force the refresh.\u00a0 You\u2019ll have to fire up the PowerShell console for Virtual Machine Manager 2008 to do this:<\/p>\n<p>First you\u2019ll connect to the VMM server.\u00a0 I know, you\u2019re probably logged into it already but PowerShell isn\u2019t.<\/p>\n<p align=\"center\">get-vmmserver &lt;Vmm_Server_Name&gt;<\/p>\n<p align=\"left\">That\u2019ll think for a second and then spit back a load of information about the VMM server object.\u00a0 That\u2019s a sign that it worked.\u00a0 Next you\u2019ll run a command to refresh your VM:<\/p>\n<p align=\"center\">refresh-vm \u2013vm &lt;Virtual_Machine_Name&gt;<\/p>\n<p align=\"left\">I usually forget the \u2013vm flag because it does seem a bit redundant.\u00a0 Here\u2019s an example:<\/p>\n<p align=\"left\">PS C:WindowsSystem32&gt; get-vmmserver vmm01.mydomain.com<\/p>\n<p align=\"left\">PS C:WindowsSystem32&gt; refresh-vm \u2013vm SQLServer01<\/p>\n<p align=\"left\">In that example I\u2019ve connected to a VMM server called vmm01.mydomain.com.\u00a0 The VM I want to refresh appears as SQLServer01 in the VMM console so that\u2019s what I refresh.\u00a0 That\u2019s not necessarily it\u2019s FQDN.\u00a0 Give this a few seconds and the VM properties will be refreshed in VMM and the console.\u00a0 They\u2019ll be displayed in the PowerShell console.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>VMM 2008 regularly refreshes a VM to retrieve it\u2019s configuration and settings, e.g. what ISO is mounted. What happens if you manage a machine directly in Hyper-V?\u00a0 That change won\u2019t be reflected immediately in VMM.\u00a0 So you might need to force the refresh.\u00a0 You\u2019ll have to fire up the PowerShell console for Virtual Machine Manager &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=9735\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Manually Refreshing a VM in VMM 2008&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[20],"tags":[],"class_list":["post-9735","post","type-post","status-publish","format-standard","hentry","category-hyper-v"],"aioseo_notices":[],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/9735","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9735"}],"version-history":[{"count":0,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/9735\/revisions"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9735"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9735"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}