r/PowerShell • • 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

22 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Sep 17 '21

[deleted]

-4

u/Reddit_Sux_Hardcore Sep 17 '21

Yea I'm in the latest PS, because I like the latest thing. I can't help it sir.

5

u/joel_m_miller Sep 17 '21

You are using the wrong product for the book. The book is called Learning WINDOWS Powershell. You install PowerShell which is a new product that did not exist at the time of writing that book. Windows PowerShell has a newest version of 5.1. PowerShell is a different product and is version 7.1.4. Windows PowerShell uses Powershell.exe. PowerShell uses pwsh.exe and is a cross-platform tool. The newest version of the book was released in Dec 2016. The book has an updated intro that calls this out as well. If there is something specific that does not work for you, why not call that out here and people can assist? Or you can comment and ask the author at manning.com. Be specific on your questions and people here can help you out.

1

u/Reddit_Sux_Hardcore Sep 17 '21

That makes perfect sense. I cannot read.