
# This pulls whatever the latest version of the gist is instead of a specific revision, useful if the box below changes and the Vagrantfile is updated to be compatible The -O would normally create a local file with a name that matches whatever the remote server thinks it should be, but the -o overrides that. The -o takes an argument to set the local filename so you don't have to mv it later, and also so you know exactly what it will be for the next command.

The -L says follow redirects, which is required when hitting the aka.ms URL. Was having some trouble with syntax on my MacBook Pro, not sure if it was a difference in software versions or what, but I tweaked the curl syntax to be a bit friendlier and more robust. cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe -InputFormat None -NoProfile -ExecutionPolicy Bypass -Command '$networkListManager = ::CreateInstance(::GetTypeFromCLSID("' Net localgroup "remote desktop users" IEUser /add Netsh advfirewall firewall set rule group="remote desktop" new enable=yes Reg add "HKEY_LOCAL_MACHINE \\SYSTEM \\CurrentControlSet \\Control \\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true network :forwarded_port, guest: 3389, host: 3389Ĭonfig. # config.vm.network "forwarded_port", guest: 80, host: 8080Ĭonfig. # accessing "localhost:8080" will access port 80 on the guest machine. # within the machine from a port on the host machine. # Create a forwarded port mapping which allows access to a specific port # Every Vagrant development environment requires a box. # For a complete reference, please see the online documentation at

# The most common configuration options are documented and commented below. # we can now run `vagrant rdp` to rdp to the box if required with IEUser:Passw0rd! # In the first run we will enable winrm and rdp: `communicator=ssh vagrant up` MsEdge\ -\ Win10.box -name Win10-official` after unzip the file to add the box to our base image list # To use Windows10-Edge vagrant you will first need to download (this is now a zip file) # How to get Windows10 with Edge official base image run with WinRM and RDP: # Thanks to the discussion of various developers in this gist
