Skip to content

Instantly share code, notes, and snippets.

@turibbio
Created January 7, 2018 21:32
Show Gist options
  • Save turibbio/09854c17545800edb61f13c515f3c863 to your computer and use it in GitHub Desktop.
Save turibbio/09854c17545800edb61f13c515f3c863 to your computer and use it in GitHub Desktop.
Configure Hyper-V settings
# Set VM Folder
New-Item -Path "E:\Hyper-V" -ItemType Directory
Set-VMHost -VirtualHardDiskPath 'E:\Hyper-V'
Set-VMHost -VirtualMachinePath 'E:\Hyper-V'
# Create an Internal Network
New-VMSwitch -name InternalSwitch -SwitchType Internal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment