Improve developer's experience inside powershell, adding useful commands like Add-PathVariable. This is optional but recommended to minimize confirmation of every single action you invoke.
First let's update powershell itself (elevated):
iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI"