r/PowerShell • u/Reddit_Sux_Hardcore • Sep 17 '21
Question Why do Powershell cmdlets change so much?
I've been trying to follow along a month of lunches, and quite a few commands can't be used anymore. How is one supposed to follow along?
Why do they keep changing them?
Won't this mess up people's scripts that they've written before? When are they going to stop changing them.. and why do they change them? Makes me a bit worried.
I want to master Powershell, but if the cmdlets keep changing, wtf?
Thanks.
1
Upvotes
5
u/chuck_cranston Sep 17 '21
If you're "getting gud" at PowerShell and expecting to use it in an enterprise environment I would suggest getting familiar with the version that is most likely to be installed on all your machines. By default that's going to be 5.1 for windows 10 PC's.
There's a ton of great additions in PS 7 but I'm unable to get it deployed throughout the organization I work at so I write the majority of my stuff in 5.1.
Knowing the Cmdlets isn't as important as know how PowerShell works. Your learning experience is going to be less painful if you use the same version as the book.