Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in