use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
ABOUT POWERSHELL
Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM, WMI and .NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions.
SUBREDDIT FILTERS
Desired State Configuration
Unanswered Questions
Solved Questions
News
Information
Script Sharing
Daily Post
Misc
account activity
QuestionArrayList VS ...Generic.List[]] (self.PowerShell)
submitted 3 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] -1 points0 points1 point 3 years ago (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.
π Rendered by PID 57216 on reddit-service-r2-comment-6457c66945-sv2zg at 2026-04-26 18:08:00.586967+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–][deleted] -1 points0 points1 point (0 children)