O'Reilly logo

Hyper-V Network Virtualization Cookbook by Ryan Boud

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Applying rules to a list of VMs

Hyper-V supports a variety of operating systems, including those that do not have inbuilt firewalls like Windows Server 2012 R2. Using the Hyper-V Extended ACLs, you can provide basic levels of protection to these guest virtual machines.

Additionally, it may be a case that some users do not necessarily lock down their servers as much as the company requires. This can be typical of a short-lived server such as a test server.

Through the use of PowerShell, it is possible to apply a large number of Port ACLs to virtual machines quickly and efficiently.

This recipe will show you how to use a CSV file and PowerShell to apply a set of Port ACLs to multiple virtual machines.

Getting ready

This recipe uses a CSV file and it ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required