Is it okay to have both PowerShell 5.1 and 7.4 installed together?

0
7
Asked By TechWhizMaster99 On

I manage an AVD Remote Desktop server with both PowerShell 5.1 and 7.4 installed. None of the users, except for me as the IT admin, are using PowerShell; I only use it occasionally—about once a month for small tasks. I'm starting to wonder if it's really necessary to have both versions installed, or if it's fine as is. What do you all think?

3 Answers

Answered By UserSupportGuru42 On

You're good to go! Having both versions side by side is completely fine. PowerShell 5.1 runs with powershell.exe, while 7.4 uses pwsh.exe, so they won't interfere with each other.

Answered By CodeFreak007 On

Honestly, if you're not utilizing 7.4, it might make sense to remove it. It just adds more maintenance work for you since you'll need to keep it updated for no real benefit.

Answered By PowerShellNerd21 On

Both versions have their strengths! 5.1 is pretty solid and standard across many Windows systems, making it reliable for a lot of tasks. Meanwhile, 7.x brings a ton of improvements and modern features, especially for handling large datasets. Just keep in mind that 7.x is cross-platform and might have lost some Windows-specific functionalities. If your work is focused on Windows, sticking with 5.1 might be your best bet, but if you're exploring newer functionalities, keeping both could be worthwhile.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.