Created
October 22, 2016 23:42
-
-
Save rgl/435f32f4b7f8b0ceaa8dee36ca8ecbf4 to your computer and use it in GitHub Desktop.
Remove all the VirtualBox Host-Only network interfaces from the Windows firewall
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # exclude the VirtualBox network interfaces from the Windows Firewall. | |
| Set-NetFirewallProfile -DisabledInterfaceAliases (Get-NetAdapter ` | |
| | Where-Object {$_.Virtual} ` | |
| | Where-Object {$_.DriverFileName -like 'VBox*.sys'} ` | |
| | ForEach-Object { $_.InterfaceAlias }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment