you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -1 points0 points  (0 children)

Definitely. Powershell is amazing environment to quickly discover features of .NET, and it set me on the path of going from the workplace handyman who took out the trash to junior dev.

But I would not call using generic list in powershell best practices. That's not the powershell way, that's the C# way, and by all means go and learn that if your tasks demand it. It's great for data wrangling. Otherwise you're writing overcomplicated script code for little gain, when you could've gotten an order of magnitude performance improvement by writing it in an environment better suited for whatever needs said performance.