'How to uninstall PowerShell 5.1 on Windows after installing 72

I just updated PowerShell to 7.2.1:

Powershell 7.2.1

But the old is still installed:

Powershell 5.1

How do i remove the old one? Having both installed is kinda redundant i suppose.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source