ManagingVirtualMachineswithPowerShellDirect()

One of the new features of Windows Server 2016 that will be helpful to system administrators is PowerShell Direct. PowerShell Direct allows you to run PowerShell commands directly on a virtual machine from a Windows10/Windows Server 2016 host server. You can even use PowerShell commands when there are networking issues that would normally prevent remote management of the VM’s. Valid credentials for the VM are required, and you can also disable this feature on VM’s that may be managed by someone other than the host administrator. Simply create a session to the VM with the Enter-PSSession command and the new -VMName parameter.

Administrator Windows PowerShell

Automated scripts can also be used with the Invoke-Command cmdlet. This makes it easier for Windows Hyper-V administrators to automate creation, configuration, and management of virtual machines. There are just a few requirements to keep in mind:

  • The virtual machine must be running locally on the host and booted.
  • You must be logged into the host computer as a Hyper-V administrator.
  • You must supply valid user credentials for the virtual machine.
  • The host operating system must run Windows 10, Windows Server 2016 Technical Preview, or higher version.
  • The virtual machine must run Windows 10, Windows Server 2016 Technical Preview, or higher version.

Windows Server 2016 Blog Series

Innovative Integration is creating a whole series about Windows Server 2016 leading up to the September launch. To read other articles from this series, click here.

About Ted Tompkins

Ted Tompkins is Regional Manager for Innovative, where his technical aptitude and personable demeanor create an ability to educate and empower clients while establishing a premium IT solution that best meets their needs.

Leave a Reply

Innovative Integration can help you optimize your IT infrastructure. Request a Consultation