Disable VMConsoleSupport???

In Windows 10 / Windows Server 2016 we have two, rather odd, new PowerShell cmdlets:

Disable-VMConsoleSupport
Enable-VMConsoleSupport

These cmdlets respectively remove and add the video adapter, mouse and keyboard from the virtual machine (note – they only work on a Generation 2 virtual machine).

At this point in time you might be wondering: “Why on earth would I want to do that?”

Well, in a large data center it is not unusual to find physical servers that are completely headless – with no video or keyboard.  However, most people do not have these sorts of servers in their labs / offices for testing.  Now you can use Hyper-V virtual machines to test how your software behaves when it is running on a truly headless computer.

Cheers,
Ben