Managing virtual machines with PowerShell Direct

PowerShell Direct is a new feature that allows you to use PowerShell directly from a Windows 10 or Windows Server 2016 Hyper-V host and virtual-machine guest operating system (specifically, Windows 10 and Windows Server 2016) without having any network configuration or any type of network at all; you don't even need to have a virtual NIC attached to your virtual machine or configure WinRM. You can just use PowerShell directly on your virtual machine from your Hyper-V host operating system.

By leveraging the VMBus architecture of Hyper-V, we are literally bypassing all the requirements for networking, firewall, remote management, and access settings. It's a great feature.

Getting ready

PowerShell Direct ...

Get Windows Server 2016 Hyper-V Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.