r/PowerShell • • Apr 22 '26

Question PowerShell 5 vs. PowerShell 7

On Windows 11, is there any benefits for normal users to install PowerShell 7 and use it instead of PowerShell 5?

75 Upvotes

103 comments sorted by

View all comments

Show parent comment

1

u/Alaknar Apr 22 '26

OK, I never thought of cases like that because I take care to always use the "approved" verbs. I like how they make sense and make it easy to understand what the cmdlet will do without even looking at the code - something that "Do-" decidedly does not. Does it retrieve information? Does it edit objects? We don't know unless we look at the code.

Get-Something, Set-Something, or New-Something are all self explanatory.

6

u/Thotaz Apr 22 '26

If all you got out of my previous comment was that I want to make functions with unapproved verbs then I can't help you.

-3

u/Alaknar Apr 22 '26

Did you miss this bit?

OK, I never thought of cases like that because I take care to always use the "approved" verbs