Hyper-V UI updates for High DPI

In the latest Windows Insider builds (14371 and later) we have made some strategic changes to address Hyper-V’s usability on High DPI systems.  But before I get into the details of the changes – one quick thing to talk about: Hyper-V UI is comprised of two main executables.  Our MMC snap-in (that runs under mmc.exe)… Read more

Windows – Read me that virtual machine

After a couple of weeks of playing around with Hyper-V APIs for reading virtual machine screens and sending keystrokes – I hit upon an interesting idea.  What would it take to make a “virtual machine screen reader”? You see, Windows itself has great support for a number of accessibility options.  And these work both in… Read more

Find a bitmap on the VM screen

Continuing with my series on how to do interesting automation stuff with Hyper-V – today I want to show you how to use PowerShell and the AForge.NET library to locate a bitmap on a virtual machine screen. For example – imagine that I had a test running in a Windows Server Core 2016 virtual machine:… Read more

Reading a pixel on a VM Screen

Two weeks ago I provided a code sample that allowed you to capture a Hyper-V virtual machine screen to a bitmap.  As part of this script – the virtual machine screen is stored in a Windows bitmap object.  There are actually a number of interesting things you can do with this object. On such thing… Read more

Network Device Naming in Hyper-V

In Windows 10 and Windows Server 2016 we have introduced a set of new capabilities around managing virtual network adapters.  One of the really handy ones is network device naming.  This allows you to easily differentiate between different network adapters on a single virtual machine – and to correlate them to network adapters inside the… Read more

Adding yourself to the Hyper-V Administrators group with PowerShell

I am currently setting up a couple of new computers – and thought I would share this little tidbit of information.  As I have  blogged in the past, you do not need to run “As Administrator” to use Hyper-V PowerShell cmdlets.  You just have to be a member of the Hyper-V Administrators group. Well –… Read more

Copy files over PowerShell Direct (and more)

We recently updated a number of the capabilities of PowerShell Direct.  In Windows 10 Insider builds greater than 14280, and in Windows Server 2016, you can now create persistent PowerShell sessions using PowerShell Direct. The format for doing this is: $PSSession = New-PSSession -VMName <VMName> -Credential (Get-Credential) You can then use this session for a… Read more

Windows 10, Hyper-V and Wireless – a new way to make this all work

Anyone who has used Hyper-V on a laptop is familiar with the pain of configuring Hyper-V virtual networking with wifi networking.  In fact, I have written multiple blogs about this over the years.  Well, in recent builds of Windows 10 (build 14295 or later) there is a new option.  This is currently a bit hidden (no… Read more