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.
This recipe uses a CSV file and it is recommended to create this in Microsoft Office Excel; having access to a computer with it installed would be beneficial.