{"id":3371,"date":"2013-08-28T09:40:49","date_gmt":"2013-08-28T13:40:49","guid":{"rendered":"http:\/\/jdhitsolutions.com\/blog\/?p=3371"},"modified":"2013-08-28T09:40:49","modified_gmt":"2013-08-28T13:40:49","slug":"hyper-v-waiting-to-merge","status":"publish","type":"post","link":"https:\/\/jdhitsolutions.com\/blog\/powershell-3-0\/3371\/hyper-v-waiting-to-merge\/","title":{"rendered":"Hyper-V Waiting to Merge"},"content":{"rendered":"<p><a href=\"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2013\/01\/hyperv.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2013\/01\/hyperv.png\" alt=\"Microsoft Hyper-V\" width=\"123\" height=\"125\" class=\"alignleft size-full wp-image-2661\" \/><\/a>In my Hyper-V environment I have a test domain which I use for pretty much all of my training, writing and video work. As part of my \"belt and suspenders\" approach, I periodically take a snapshot of all the virtual machines using the theory that if I had to, I could roll back the entire domain. <\/p>\n<p>Today I deleted the old snapshot and was planning on firing off a new one. As I was getting ready to run this command:<\/p>\n<pre class=\"lang:ps decode:true \" >get-vm chi* | checkpoint-vm -snapshotname \"Safety Snapshot\"<\/pre>\n<p>I realized disks were still merging from the snapshot deletion I had just done, and that I should wait until this completed. Of course, I didn't want to constantly run Get-VM to check the status. So I built a simple background job to loop while merging. I used this command:<\/p>\n<pre class=\"lang:ps decode:true \" >\r\nwhile (get-vm chi* | where status -eq \"merging disks\") {\r\nwrite-host \".\" -nonewline \r\nstart-sleep -seconds 1\r\n}\r\n<\/pre>\n<p>As long as the Get-VM expression is true, PowerShell will run through the scriptblock. In this case I'm writing a . to indicate progress and then sleeping for 1 second. I probably should have gone 5 or 10 seconds.  Anyway, this now runs as a background job. I can periodically check on the job. Or use Wait-Job. <\/p>\n<p>Once I see that the job has completed, I can create my snapshots. And because that too might take time to complete, I'll use the -AsJob parameter for Checkpoint-VM. I suppose I could have added the command in my waiting job. And maybe next time I will. What I really need to do is write a script to clear the old snapshot, wait for the merge to complete and then take a new snapshot. I suppose it might look like this, although I haven't tested it yet.<\/p>\n<pre class=\"lang:ps decode:true \" >\r\n#requires -version 3.0\r\n#requires -module Hyper-V\r\n\r\n#remove existing snapshots\r\nWrite-Host \"Removing existing snapshots\" -ForegroundColor Green\r\nGet-VMSnapshot -name \"safety snapshot\" -VMName CHI*  | Remove-VMSnapshot\r\n\r\n#wait for disk merges to complete\r\nWrite-Host \"Waiting for disks to merge\" -ForegroundColor Green\r\nwhile (Get-VM chi* | where status -eq \"merging disks\") {\r\n  Write-Host \".\" -nonewline  -ForegroundColor green\r\n  Start-Sleep -seconds 10\r\n}\r\n\r\n#take new snapshots\r\nWrite-Host \"Taking new snapshot\" -ForegroundColor Green\r\nGet-VM -Name CHI* | Checkpoint-VM -SnapshotName \"Safety Snapshot\"\r\n\r\nWrite-Host \"Script complete.\" -ForegroundColor Green\r\n<\/pre>\n<p>I would run the entire script as a background job. Actually I might even take this a step further and run this as a scheduled PowerShell job so I don't have to think about this anymore.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my Hyper-V environment I have a test domain which I use for pretty much all of my training, writing and video work. As part of my &#8220;belt and suspenders&#8221; approach, I periodically take a snapshot of all the virtual machines using the theory that if I had to, I could roll back the entire&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"New blog post: #Hyper-V Waiting to Merge  #PowerShell","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[401,359],"tags":[573,534,540,432],"class_list":["post-3371","post","type-post","status-publish","format-standard","hentry","category-hyper-v","category-powershell-3-0","tag-hyper-v","tag-powershell","tag-scripting","tag-snapshot"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Hyper-V Waiting to Merge &#8226; The Lonely Administrator<\/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:\/\/jdhitsolutions.com\/blog\/powershell-3-0\/3371\/hyper-v-waiting-to-merge\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hyper-V Waiting to Merge &#8226; The Lonely Administrator\" \/>\n<meta property=\"og:description\" content=\"In my Hyper-V environment I have a test domain which I use for pretty much all of my training, writing and video work. As part of my &quot;belt and suspenders&quot; approach, I periodically take a snapshot of all the virtual machines using the theory that if I had to, I could roll back the entire...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jdhitsolutions.com\/blog\/powershell-3-0\/3371\/hyper-v-waiting-to-merge\/\" \/>\n<meta property=\"og:site_name\" content=\"The Lonely Administrator\" \/>\n<meta property=\"article:published_time\" content=\"2013-08-28T13:40:49+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2013\/01\/hyperv.png\" \/>\n<meta name=\"author\" content=\"Jeffery Hicks\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@JeffHicks\" \/>\n<meta name=\"twitter:site\" content=\"@JeffHicks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeffery Hicks\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell-3-0\\\/3371\\\/hyper-v-waiting-to-merge\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell-3-0\\\/3371\\\/hyper-v-waiting-to-merge\\\/\"},\"author\":{\"name\":\"Jeffery Hicks\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"headline\":\"Hyper-V Waiting to Merge\",\"datePublished\":\"2013-08-28T13:40:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell-3-0\\\/3371\\\/hyper-v-waiting-to-merge\\\/\"},\"wordCount\":315,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"image\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell-3-0\\\/3371\\\/hyper-v-waiting-to-merge\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/jdhitsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/01\\\/hyperv.png\",\"keywords\":[\"Hyper-V\",\"PowerShell\",\"Scripting\",\"snapshot\"],\"articleSection\":[\"Hyper-V\",\"Powershell 3.0\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell-3-0\\\/3371\\\/hyper-v-waiting-to-merge\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell-3-0\\\/3371\\\/hyper-v-waiting-to-merge\\\/\",\"url\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell-3-0\\\/3371\\\/hyper-v-waiting-to-merge\\\/\",\"name\":\"Hyper-V Waiting to Merge &#8226; The Lonely Administrator\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell-3-0\\\/3371\\\/hyper-v-waiting-to-merge\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell-3-0\\\/3371\\\/hyper-v-waiting-to-merge\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/jdhitsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/01\\\/hyperv.png\",\"datePublished\":\"2013-08-28T13:40:49+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell-3-0\\\/3371\\\/hyper-v-waiting-to-merge\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell-3-0\\\/3371\\\/hyper-v-waiting-to-merge\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell-3-0\\\/3371\\\/hyper-v-waiting-to-merge\\\/#primaryimage\",\"url\":\"http:\\\/\\\/jdhitsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/01\\\/hyperv.png\",\"contentUrl\":\"http:\\\/\\\/jdhitsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/01\\\/hyperv.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/powershell-3-0\\\/3371\\\/hyper-v-waiting-to-merge\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Hyper-V\",\"item\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/category\\\/hyper-v\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hyper-V Waiting to Merge\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/\",\"name\":\"The Lonely Administrator\",\"description\":\"Practical Advice for the Automating IT Pro\",\"publisher\":{\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/jdhitsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/d0258030b41f07fd745f4078bdf5b6c9\",\"name\":\"Jeffery Hicks\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg\",\"caption\":\"Jeffery Hicks\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Hyper-V Waiting to Merge &#8226; The Lonely Administrator","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:\/\/jdhitsolutions.com\/blog\/powershell-3-0\/3371\/hyper-v-waiting-to-merge\/","og_locale":"en_US","og_type":"article","og_title":"Hyper-V Waiting to Merge &#8226; The Lonely Administrator","og_description":"In my Hyper-V environment I have a test domain which I use for pretty much all of my training, writing and video work. As part of my \"belt and suspenders\" approach, I periodically take a snapshot of all the virtual machines using the theory that if I had to, I could roll back the entire...","og_url":"https:\/\/jdhitsolutions.com\/blog\/powershell-3-0\/3371\/hyper-v-waiting-to-merge\/","og_site_name":"The Lonely Administrator","article_published_time":"2013-08-28T13:40:49+00:00","og_image":[{"url":"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2013\/01\/hyperv.png","type":"","width":"","height":""}],"author":"Jeffery Hicks","twitter_card":"summary_large_image","twitter_creator":"@JeffHicks","twitter_site":"@JeffHicks","twitter_misc":{"Written by":"Jeffery Hicks","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell-3-0\/3371\/hyper-v-waiting-to-merge\/#article","isPartOf":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell-3-0\/3371\/hyper-v-waiting-to-merge\/"},"author":{"name":"Jeffery Hicks","@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"headline":"Hyper-V Waiting to Merge","datePublished":"2013-08-28T13:40:49+00:00","mainEntityOfPage":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell-3-0\/3371\/hyper-v-waiting-to-merge\/"},"wordCount":315,"commentCount":2,"publisher":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"image":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell-3-0\/3371\/hyper-v-waiting-to-merge\/#primaryimage"},"thumbnailUrl":"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2013\/01\/hyperv.png","keywords":["Hyper-V","PowerShell","Scripting","snapshot"],"articleSection":["Hyper-V","Powershell 3.0"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/jdhitsolutions.com\/blog\/powershell-3-0\/3371\/hyper-v-waiting-to-merge\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell-3-0\/3371\/hyper-v-waiting-to-merge\/","url":"https:\/\/jdhitsolutions.com\/blog\/powershell-3-0\/3371\/hyper-v-waiting-to-merge\/","name":"Hyper-V Waiting to Merge &#8226; The Lonely Administrator","isPartOf":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell-3-0\/3371\/hyper-v-waiting-to-merge\/#primaryimage"},"image":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell-3-0\/3371\/hyper-v-waiting-to-merge\/#primaryimage"},"thumbnailUrl":"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2013\/01\/hyperv.png","datePublished":"2013-08-28T13:40:49+00:00","breadcrumb":{"@id":"https:\/\/jdhitsolutions.com\/blog\/powershell-3-0\/3371\/hyper-v-waiting-to-merge\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jdhitsolutions.com\/blog\/powershell-3-0\/3371\/hyper-v-waiting-to-merge\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell-3-0\/3371\/hyper-v-waiting-to-merge\/#primaryimage","url":"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2013\/01\/hyperv.png","contentUrl":"http:\/\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2013\/01\/hyperv.png"},{"@type":"BreadcrumbList","@id":"https:\/\/jdhitsolutions.com\/blog\/powershell-3-0\/3371\/hyper-v-waiting-to-merge\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Hyper-V","item":"https:\/\/jdhitsolutions.com\/blog\/category\/hyper-v\/"},{"@type":"ListItem","position":2,"name":"Hyper-V Waiting to Merge"}]},{"@type":"WebSite","@id":"https:\/\/jdhitsolutions.com\/blog\/#website","url":"https:\/\/jdhitsolutions.com\/blog\/","name":"The Lonely Administrator","description":"Practical Advice for the Automating IT Pro","publisher":{"@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jdhitsolutions.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/jdhitsolutions.com\/blog\/#\/schema\/person\/d0258030b41f07fd745f4078bdf5b6c9","name":"Jeffery Hicks","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg","url":"https:\/\/secure.gravatar.com\/avatar\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg","caption":"Jeffery Hicks"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/832ae5d438fdcfc1420d720cd1991307927de8a0b12f2342e81c30f773e21098?s=96&d=wavatar&r=pg"}}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":4685,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/4685\/adding-some-power-to-hyper-v-vm-notes\/","url_meta":{"origin":3371,"position":0},"title":"Adding Some Power to Hyper-V VM Notes","author":"Jeffery Hicks","date":"December 15, 2015","format":false,"excerpt":"I use they Hyper-V virtual machine note to store system information. Here's how I get it and set with PowerShell.","rel":"","context":"In &quot;Hyper-V&quot;","block_context":{"text":"Hyper-V","link":"https:\/\/jdhitsolutions.com\/blog\/category\/hyper-v\/"},"img":{"alt_text":"System Information","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2015\/12\/image_thumb-1.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2015\/12\/image_thumb-1.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2015\/12\/image_thumb-1.png?resize=525%2C300 1.5x"},"classes":[]},{"id":4547,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/4547\/hyper-v-memory-utilization-with-powershell\/","url_meta":{"origin":3371,"position":1},"title":"Hyper-V Memory Utilization with PowerShell","author":"Jeffery Hicks","date":"October 6, 2015","format":false,"excerpt":"I really push the limits of my Hyper-V setup. I know I am constrained by memory and am hoping to expand my network before the end of the year. But in the meantime I have to keep close tabs on memory. I thought I'd share a few commands with you.\u2026","rel":"","context":"In &quot;Hyper-V&quot;","block_context":{"text":"Hyper-V","link":"https:\/\/jdhitsolutions.com\/blog\/category\/hyper-v\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4457,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/4457\/creating-a-hyper-v-vm-memory-report\/","url_meta":{"origin":3371,"position":2},"title":"Creating a Hyper-V VM Memory Report","author":"Jeffery Hicks","date":"July 20, 2015","format":false,"excerpt":"I use Hyper-V to run my lab environment. Since I work at home I don't have access to a \"real\" production network so I have to make do with a virtualized environment. Given budgetary constraints I also don't have a lot of high end hardware with endless amount of RAM\u2026","rel":"","context":"In &quot;Hyper-V&quot;","block_context":{"text":"Hyper-V","link":"https:\/\/jdhitsolutions.com\/blog\/category\/hyper-v\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2566,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/2566\/importing-hyper-v-vm-from-a-powershell-backup\/","url_meta":{"origin":3371,"position":3},"title":"Importing Hyper-V VM from a PowerShell Backup","author":"Jeffery Hicks","date":"November 5, 2012","format":false,"excerpt":"My Petri article this week is on importing Hyper-V VMs from a backup. http:\/\/bit.ly\/PRE0pk I have many more articles on Hyper-V on Windows 8 on the site as well. You can find all of my recent posts here.","rel":"","context":"In &quot;PowerShell&quot;","block_context":{"text":"PowerShell","link":"https:\/\/jdhitsolutions.com\/blog\/category\/powershell\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2546,"url":"https:\/\/jdhitsolutions.com\/blog\/scripting\/2546\/powershell-hyper-v-memory-report\/","url_meta":{"origin":3371,"position":4},"title":"PowerShell Hyper-V Memory Report","author":"Jeffery Hicks","date":"November 1, 2012","format":false,"excerpt":"Since moving to Windows 8, I've continued exploring all the possibilities around Hyper-V on the client, especially using PowerShell. Because I'm trying to run as many virtual machines on my laptop as I can, memory considerations are paramount as I only have 8GB to work with. Actually less since I\u2026","rel":"","context":"In &quot;Hyper-V&quot;","block_context":{"text":"Hyper-V","link":"https:\/\/jdhitsolutions.com\/blog\/category\/hyper-v\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2012\/11\/happyreport-150x150.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2657,"url":"https:\/\/jdhitsolutions.com\/blog\/powershell\/2657\/hyper-v-id-hash-table\/","url_meta":{"origin":3371,"position":5},"title":"Hyper-V ID Hash Table","author":"Jeffery Hicks","date":"January 3, 2013","format":false,"excerpt":"In Hyper-V, one of the challenges (at least that I've run into) has to do with naming. In addition to a name, Hyper-V objects such as virtual machines, are identified with a GUID. Most of the VM-related PowerShell cmdlets will let you specify a virtual machine name. But sometimes you'll\u2026","rel":"","context":"In &quot;Hyper-V&quot;","block_context":{"text":"Hyper-V","link":"https:\/\/jdhitsolutions.com\/blog\/category\/hyper-v\/"},"img":{"alt_text":"Microsoft Hyper-V","src":"https:\/\/i0.wp.com\/jdhitsolutions.com\/blog\/wp-content\/uploads\/2013\/01\/hyperv.png?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/3371","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=3371"}],"version-history":[{"count":0,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/3371\/revisions"}],"wp:attachment":[{"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=3371"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=3371"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jdhitsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=3371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}