Windows PowerShell Best Practices and Patterns: Time to Get Serious

Play Windows PowerShell Best Practices and Patterns: Time to Get Serious

The Discussion

  • User profile image

    Pretty good session. You made several comments about the challenges with back ticks. We (my team) couldn't agree more. We NEED to get a good alternative syntax in PowerShell and make them and even your work arounds, go away forever!!


  • User profile image
    Martin Nielsen

    At 55 minutes where you test different versions of creating a PSObject, I noticed in the first codeblock with Add-Member you never output the resulting PSObject to the $obj variable (the last Add-Member is missing a -PassThru).

    With that said I set up the test myself and it's not noticably faster or slower with the added -PassThru. The second option still wins by a large margin.

  • User profile image

    This session and the PowerShell unplugged were my 2 favorites that could be viewed remotely.

    I didn't get to attend this year.

  • User profile image

    I agree much in all of your advices.
    Just wanted to say that in your splatting-array you dont need to surround your parameternames with ', and you dont need to end the line with semicolons.

Add Your 2 Cents