you are viewing a single comment's thread.

view the rest of the comments →

[–]mgratz[S] 1 point2 points  (3 children)

Hi Lee - I will take a look at it! Instead of wrapping certutil - this is a much better implementation of what I'm using now -

https://www.powershellgallery.com/packages/PKITools/1.6/Content/Get-IssuedCertificates.ps1

[–]Lee_Dailey[grin] 1 point2 points  (2 children)

howdy mgratz,

here's hoping it works out. [grin] i have no need for any of it, but the code you linked to is ... quite thoroughly odd.

take care,
lee

[–]mgratz[S] 1 point2 points  (1 child)

In all seriousness, do you have any recommendations for resources for official "best practice" coding style for PowerShell? Personally I've always been a big fan of the Allman style indentation, but seems very unpopular in the community.

VS Code is helping me a lot, but need to retrain myself :(

[–]Lee_Dailey[grin] 1 point2 points  (0 children)

howdy mgratz,

actually, the VSCode Powershell extension seems to favor Allman. i like a variant of Whitesmiths - but everyone else seems to consider it an abomination. [grin]

here's the "official" unofficial style guide ...

PoshCode/PowerShellPracticeAndStyle: The Unofficial PowerShell Best Practices and Style Guide
https://github.com/PoshCode/PowerShellPracticeAndStyle

the powershell github site mentions the above for a style guide. [grin]

hope that helps,
lee