Skip to content
Menu
The Lonely Administrator
  • PowerShell Tips & Tricks
  • Books & Training
  • Essential PowerShell Learning Resources
  • Privacy Policy
  • About Me
The Lonely Administrator

Scripting Challenge Meetup

Posted on February 1, 2021February 1, 2021

As you probably know, I am the PowerShell problem master behind the challenges from the Iron Scripter site. Solving a PowerShell scripting challenge is a great way to test your skills and expand your knowledge. The final result is merely a means to an end. How you get there and what you had to learn are more valuable. By the way, the challenges on the Iron Scripter site are open-ended and there are problems for all PowerShell skill levels, so I hope you'll give a few them a try.

Manage and Report Active Directory, Exchange and Microsoft 365 with
ManageEngine ADManager Plus - Download Free Trial

Exclusive offer on ADManager Plus for US and UK regions. Claim now!

This week, I will be presenting a set of mini PowerShell challenges for the Research Triangle PowerShell Users Group. This will be an online meeting on Wednesday, February 3, 2021, at 8:00 PM Eastern. You can register for free at https://www.meetup.com/Research-Triangle-PowerShell-Users-Group/events/274886921/. I hope you can join the fun.

A Practice Challenge

To get you warmed-up, I have a little PowerShell challenge for you. This doesn't require you to write a PowerShell script or function. You should be able to answer the challenge with no more than a few lines of PowerShell that you could run at a console prompt.

Using the about_Splatting help file, what word is used the most frequently? If you can show the top 5 even better. Ideally, your code will treat words like "for," and "for" as the same. For extra points, create a simple custom object that shows the help topic name, the total number of words, "," is not a word, the top word and the top word count. Also, try to skip "the" which is almost always a common word.

If you'd like, feel free to leave a comment with a link to your solution.

Get More

If you want even more challenges, especially if you are relatively new to PowerShell, take a look at The PowerShell Practice Primer.


Behind the PowerShell Pipeline

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to print (Opens in new window) Print
  • Click to email a link to a friend (Opens in new window) Email

Like this:

Like Loading...

Related

8 thoughts on “Scripting Challenge Meetup”

  1. thedavecarroll says:
    February 1, 2021 at 10:52 am

    Here’s my quick solution.
    https://gist.github.com/thedavecarroll/3f85a4c5bb2d22f2ce7d44a7e2bddb48

    See you Wednesday night!

  2. Timothy says:
    February 2, 2021 at 5:07 am

    My attempt at the challenge:
    https://gist.github.com/tjgruber/0a2121b4c785b7f844d2d2aed1fbb0d1

    Though, I won’t be able to make the meetup, I’m in the CET time zone.
    Have fun!

  3. Josh King says:
    February 2, 2021 at 3:11 pm

    Here’s my take on the challenge: https://gist.github.com/Windos/0da44a5b0a9f4b04a117316a347d15c0

  4. Daryl says:
    February 3, 2021 at 4:09 am

    Hi Jeff, will you be recording the meeting? 8pm your time is 1am here in the UK 🙁

    Thanks!

    1. Jeffery Hicks says:
      February 3, 2021 at 10:42 am

      As far as I know, meetings are almost always recorded. And I’ll also share the problems online.

  5. Daryl says:
    February 3, 2021 at 4:09 am

    Hi Jeff, will you be recording the meeting? 8pm your time is 1am here in the UK

    Thanks!

  6. Josh says:
    February 4, 2021 at 10:31 am

    Here’s my solution.

    https://github.com/Joshrsg/Powershell/blob/main/Get-FrequentHelpFileWords

  7. Pingback: My PowerShell Word Count Solution • The Lonely Administrator

Comments are closed.

reports

Powered by Buttondown.

Join me on Mastodon

The PowerShell Practice Primer
Learn PowerShell in a Month of Lunches Fourth edition


Get More PowerShell Books

Other Online Content

github



PluralSightAuthor

Active Directory ADSI Automation Backup Books CIM CLI conferences console Friday Fun FridayFun Function functions Get-WMIObject GitHub hashtable HTML Hyper-V Iron Scripter ISE Measure-Object module modules MrRoboto new-object objects Out-Gridview Pipeline PowerShell PowerShell ISE Profile prompt Registry Regular Expressions remoting SAPIEN ScriptBlock Scripting Techmentor Training VBScript WMI WPF Write-Host xml

©2025 The Lonely Administrator | Powered by SuperbThemes!
%d