You could do that almost 10 years ago with chocolatey the exactly same way, here is one liner
iwr https://chocolatey.org/install.ps1 | iex; cinst googlechrome iwr https://chocolatey.org/install.ps1 | iex; cinst googlechromeBut that's for introducing me to the iwr command. I don't use Windows often, but it's good to know what tools are available in the rare instances that I need to. Now I need a mnemonic to remember it... "I Want Real (curl)"