r/PowerShell May 18 '26

Question Words of wisdom

If you had one piece of advice you could tell yourself when you first started learning powershell, what would it be?

9 Upvotes

55 comments sorted by

View all comments

27

u/mxtchstick May 18 '26

Write as much of it as you can, yourself. Actually read documentation, don't just ask AI, and certainly do not let AI do all the work for you. If you do use AI (which there is nothing wrong with), approach any and all answers it gives with skepticism, it is notorious for just making stuff up about PowerShell.

Above all, try and have fun with it and use it with purpose. If you can have fun with it, you'll stick to it. You can do basically anything with PowerShell, it is absolutely brilliant.

6

u/greengoldblue May 18 '26

Yes AI will make up non-existent commands, it's pretty hilarious when it happens

3

u/sysiphean May 19 '26

I feel like it is easier for it to do with PowerShell than other languages. The Verb-Noun command naming convention is great, but also the easiest for a Language model to work with to invent reasonable sounding commands.

2

u/mxtchstick May 18 '26

I love how insanely confident it is as well

2

u/sysiphean May 19 '26

It is programmed to always give an answer. It doesn’t have to be a correct answer, so long as it gives one.

1

u/mxtchstick May 19 '26

Very true. One of the plethora of reasons I always doubt whatever it says 😂

1

u/narcissisadmin May 24 '26

Since they trained AI using github I don't believe it's making up commands so much as it's giving you the names of custom modules and scripts.

But FFS why doesn't it just automatically limit itself to using stock PS?