PowerShell Install

How do you upgrade PowerShell with one line of PowerShell?

Taken from Thomas Maurer:
https://www.thomasmaurer.ch/2019/07/how-to-install-and-update-powershell-7/

iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI"