It'd be great to have it built-in but you can get https://chocolatey.org and MinGW pretty easily:
iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
restart prompt, then: choco install mingw
(no machine reboots, disclaimer: I work at MSR, nothing related to this)