Search This Blog

Monday, August 31, 2015

Win 2016 TP3 : Hello Powershell Direct !

 

You can now using Powershell Direct to easily manage and run Powershell cmdlet and script directly inside a virtual machine.

Requirements:

  • Host – Windows 10 or Windows Server 2016
  • Guest VM – Windows 10 or Windows Server 2016
  • Guest credential
  • Running as Hyper-V Administrator
  • VM on locally and booted

Powershell Remoting to Windows Server 2012 R2

  • Failed with an error message. We need to configure it in order to make it work.

image

But the game has changed with Powershell Direct on Windows Server 2016 TP3

  • Work on VM without network connectivity

image

  • Work on VM with  Windows Firewall enabled

image

[ Test Powershell Direct]

Execute

Enter-PSSession –VMname (name)

image

Able to connect to the virtual machine without any extra configuration. From here, you can execute powershell cmdlet.

Example: Install Web Application Proxy for ADFS

Add-WindowsFeature Web-Application-Proxy

image

How do you find Powershell Direct? Cool right! Just give it a try yourself on Powershell Direct.

9 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete
  4. This Fan Banner for the New Orleans Saint Fan is a great way to show the neighbors who you're rooting for on gameday! This pleated fan bunting is made of 100% nylon, measures a 27"x57" in size, and has three metal grommets along the top header for easy hanging. The NFL team colored panels are ruffled and the insignias are embroidered into our New Orleans Saint Fan Banner which results in a durable and quality banner.nfl house divided flags
    dallas cowboys american flagRavens american flags
    Bills stars and stripes flags

    ReplyDelete