Hyper-V’s PowerShell cmdlets don’t always work — broken commands don’t always display an error message either. Learn why this occurs and how to avoid it.
PowerShell Direct allows you to patch your Hyper-V VMs in two ways. Here’s exactly what you need to get the most out of automating this process.
Each Hyper-V virtual machine sports a number of settings that can be changed, but not by any sanctioned GUI tools. If you’re familiar with WMI, these properties are part of the Msvm_VirtualSystemSettingData class. Whether you’re familiar with WMI or not, these properties are not simple to change. I previously created a script that modifies the BIOS GUID setting, but that left out all the other available fields. So, I took that script back into the workshop and rewired it to increase its reach. If you’re fairly new to using PowerShell as a scripting language and use other people’s scripts to learn, there are some additional notes after the script contents that you might be interested in. What this Script Does This script can be used to modify the following properties of a Hyper-V virtual machine: BIOS GUID: The BIOS of every modern computer should contain a Universally Unique Identifier… Read More»
PowerShell Remoting lets you manage your Hyper-V environment using a great command-line interface that provides you better options than a GUI ever can. Here’s how.
I’ve been prepping for a lot of different speaking engagements coming up in the next few months and a very hot topic these days is the use of PowerShell and automation, when it comes to Hyper-V. With this in mind, I’ve prepped the below script for some of these upcoming discussions, and wanted to share it with the community so that it’ll be of help to some people.
Update WSUS Installation Media and Hyper-V Templates using this FREE PowerShell Script. The script will automatically update both VHDX and WIM files.
File screening helps mitigate damage from a ransomware attack, allowing file server configuration for real-time auditing on files that become modified.
Modify the BIOS GUID of a Hyper-V virtual machine easily with this automated PowerShell script, which particularly modifies the system’s UUID (universally unique identifier).
Today we would like to welcome Mathieu Isbel, a Microsoft MVP who will be participating regularly in the blog. He starts by presenting a method for copying your production data in your development environment in a quick and space efficient manner using Hyper-V parent and differencing disks. Check it out in today’s post.
We’ve had quite a few posts about Hyper-V checkpoints lately (formerly snapshots). We also spend a fair bit of time warning people not to tinker with them manually. There are still those people that are going to tinker despite any warnings, and there will always be those people who don’t even find the warnings until they’re too late to be of any value. The least I can do is provide a tool that can be of use to anyone that’s stuck working on a complicated tree of differencing disks.
One of the things I commonly lament over is the poor state of the management tools available for Hyper-V (from Microsoft; I’m pointedly not talking about third party solutions). One issue I see a lot of is that there isn’t a quick way, when looking at the Hyper-V-specific tools, to know how much free memory a host has. People then have to resort to other tools like Task Manager to determine this. These methods are usually effective, but imperfect. Sometimes, you are unable to match up what those tools display against what happens in Hyper-V.