Upgrading PowerShell enhances your scripting and automation capabilities, providing access to new features, improvements, and security patches. The upgrade process varies depending on your operating system and current version. Always verify the upgrade was successful and familiarize yourself with any new features or changes in the updated version.
Before upgrading, it's a good idea to check which version of PowerShell you're currently using. You can do this by: upgrade powershell version
If you search your start menu, you will now see "Windows PowerShell" (the old blue icon, v5.1) and "PowerShell" (the black icon, v7). Use the black icon for your daily work. providing access to new features
To upgrade an existing installation: