Who are some users that write really awesome PowerShell code?

3 years ago by Greg Tate to c/powershell

I've been writing PowerShell code for almost 10 years now, and I love it when I come across someone who uses interesting techniques and patterns that I haven't seen before.

Do any of you have a list of users in the community from which you've taken inspiration in your own code? Who are they? I'd like to follow them :-)

signofzeta 5 points 3 years ago

Przemyslaw Klys (Evotec) does some great work.

path: 0 359779, hotness: undefined, score: 5, children: 1
gregt8 3 points 3 years ago

Nice, thank you! Just what I was looking for. This guy has an incredible GitHub page.

path: 0 359779 360435, hotness: undefined, score: 3, children: 0
Simonoid 4 points 3 years ago path: 0 396074, hotness: undefined, score: 4, children: 0
pwshguy 2 points 3 years ago

James Brundage's code never fails to impress me. He writes a lot of code that helps you write better PowerShell. Which in turn has a bunch of slick techniques I've never seen elsewhere. https://github.com/StartAutomating

path: 0 381711, hotness: undefined, score: 2, children: 1
gregt8 2 points 3 years ago

I love how James documents his code. He tells a story with his comments:

        #region Create Color Scheme Object
        $newScheme =
            if ($iTermThemeExists)
            {
                # If the theme exists, let them customize it.
                foreach ($k in $PSBoundParameters.Keys) {
                                                    # Any supplied parameter
                    if ($k -ne 'Name' -and          # except name
                        $iTermThemeExists.$k        # that exists in the theme
                    ) {
                        $iTermThemeExists.$k =      # will be overwritten
                            $PSBoundParameters[$k]  # with the supplied parameter.
                    }
                }
                $iTermThemeExists
path: 0 381711 595875, hotness: undefined, score: 2, children: 0
KrzyDoug 1 point 3 years ago path: 0 774401, hotness: undefined, score: 1, children: 0
powershell
powershell

@programming.dev

login for more options
1271
186
10

PowerShell (POSH) is a a task automation command-line shell and scripting language created by Microsoft. It became part of the FOSS community in 2016 and is now available across Windows, Linux, and macOS

Resources:


Rules:

  • Be civil (aka don’t be a jerk). Remember there are people from all walks of life, all with different levels of expertise. You can disagree with someone, but please be civil when doing so.
  • Adhere to the Lemmy Code of Conduct
  • Follow all programming.dev rules
  • Posts must relate to PowerShell or the PowerShell ecosystem.
  • Use code blocks to make things easier to read.
  • Memes and humorous posts are allowed but try not over do it. And keep them relevant to PowerShell
  • No discussion about piracy or hacking.
  • If someone provides an answer that solves your problem, please reply, so others know what the solution was. ^And^ ^so^ ^the^ ^person^ ^who^ ^suggested^ ^it^ ^gets^ ^that^ ^oh^ ^so^ ^sweet^ ^shot^ ^of^ ^dopamine.^
  • If you find a solution to your problem by other means, please take your time to write down the steps you used to solve your problem in the original post. You can potentially help others having the same problem!

Self-promotion rules:

  • Self-promotion content must be marked as [OC]
  • Do not SPAM. Content must be PowerShell related.
  • Only 10% of your contributions can be self-promotion. In other words, 90% of your contribution must not be self-promotion.
  • Personal blogs are not considered self-promotion, at this time, as long as they are free to access and relevant. Please do not abuse this.

go to feed...