Hi,
PowerShell 7 is built on .NET Core and not fully compatible with Windows PowerShell 5.1. The separate profiles, installation paths and executable names enable you to run PowerShell 7 side-by-side with Windows PowerShell 5.1
Best Regards,
Ian Xue
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.