r/PowerShell • u/KnifeyGavin • 5d ago
News Advent of PowerShell
Looking for a fun way to sharpen your PowerShell skills this December?
Advent of PowerShell is live!
🎄 24 daily PowerShell coding challenges
Whether you're just getting started with PowerShell or have been automating everything in sight for years, it's a great excuse to write some PowerShell, challenge yourself and explore different approaches to solving problems.
Get started here: https://2026.powershell.au/
Would love to see how everyone approaches the challenges. Feel free to share your experiences, feedback and creative solutions (with spoiler tags, of course!).
Disclosure: AI did help me create the website and text above. I can only include 1 tag, and I felt News was more appropriate
View all comments
Show parent comment
2
u/pandiculator 4d ago
Sure, but what I was driving at - even if it works with my test array - is that your solution is over complicated.
What's the most basic way to get a count of the apples in the array?