Skip to content

Instantly share code, notes, and snippets.

@PixelRobots PixelRobots/New_NAT-vSwitch.ps1 Secret
Last active Jun 14, 2017

What would you like to do?
New-VMSwitch -SwitchName "NATvSwitch" -SwitchType Internal
New-NetIPAddress -IPAddress -PrefixLength 24 -InterfaceAlias "vEthernet (NATvSwitch)"
New-NetNAT -Name "NATvNetwork" -InternalIPInterfaceAddressPrefix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.