Skip to content

Instantly share code, notes, and snippets.

@jdhitsolutions
Last active April 7, 2024 11:39

Revisions

  1. jdhitsolutions revised this gist Jan 8, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Challenge.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # PowerShell Podcast ScriptingChallenge

    This is the PowerShell scripting challenge from my appearance on the [PowerShell Podcast]([https://powershellpodcast.podbean.com/](https://powershellpodcast.podbean.com/e/code-in-action-embracing-hands-on-learning-with-jeff-hicks/))
    This is the PowerShell scripting challenge from my appearance on the [PowerShell Podcast](https://powershellpodcast.podbean.com/e/code-in-action-embracing-hands-on-learning-with-jeff-hicks/)

    ## Base Challenge

  2. jdhitsolutions revised this gist Jan 8, 2024. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Challenge.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # PowerShell Podcast ScriptingChallenge

    This is the PowerShell scripting challenge from my appearance on the [PowerShell Podcast](https://powershellpodcast.podbean.com/)
    This is the PowerShell scripting challenge from my appearance on the [PowerShell Podcast]([https://powershellpodcast.podbean.com/](https://powershellpodcast.podbean.com/e/code-in-action-embracing-hands-on-learning-with-jeff-hicks/))

    ## Base Challenge

  3. jdhitsolutions revised this gist Dec 5, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Challenge.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # PowerShell Scripting Podcast Challenge
    # PowerShell Podcast ScriptingChallenge

    This is the PowerShell scripting challenge from my appearance on the [PowerShell Podcast](https://powershellpodcast.podbean.com/)

  4. jdhitsolutions revised this gist Dec 5, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Challenge.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # PowerShell Scripting Podcast Challenge

    This is the PowerShell scripting challenge from my appearance on the [PowerShell Scripting Podcast](https://powershellpodcast.podbean.com/)
    This is the PowerShell scripting challenge from my appearance on the [PowerShell Podcast](https://powershellpodcast.podbean.com/)

    ## Base Challenge

  5. jdhitsolutions created this gist Dec 5, 2023.
    38 changes: 38 additions & 0 deletions Challenge.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,38 @@
    # PowerShell Scripting Podcast Challenge

    This is the PowerShell scripting challenge from my appearance on the [PowerShell Scripting Podcast](https://powershellpodcast.podbean.com/)

    ## Base Challenge

    Using whatever tools and techniques you want, write a PowerShell function that will query the Issues section of a GitHub repository and create output showing
    the number of open issues by label and the percentage of all open issues. Remember that multiple labels may be used with an issue.

    For example, if there are 54 open issues and the bug label is used 23 times,your output would show a count of 23 and a total percentage of 42.59 for the bug
    label.

    The function should work for any GitHub repository, but test it with the PowerShell repository. Naturally, the function should follow community accepted best practices,
    have parameter validation, and proper error handling.

    ## Bonus Challenges

    Once you have the function, add custom formatting to display the results in a table,
    including the repository name or path.

    Create an alternative view that will also display the repository and the label URI
    that GitHub uses to create a filtered page view.

    Finally, create a control script using the function to create a markdown report
    for the PowerShell repository showing the top 25 labels. The markdown report should
    have clickable links.

    You will most likely end up with several files to meet all the challenge requirements.

    Hint: There's more than one way to access the GitHub API.

    ## To Participate

    We hope many people will test their skills with this challenge. You are encouraged to post a comment with a __link__ to your solution.
    Please do not post your solution. In about 4-6 weeks, I will post my solutions. There is no single correct solution to this challenge
    and the goal is to have fun and learn something new along the way.

    Happy Scripting!