besimorhino / powercat

netshell features all in version 2 powershell
Apache License 2.0
2.13k stars 473 forks source link

Recommendations Following PowerShell Best Practices #8

Open darkoperator opened 9 years ago

darkoperator commented 9 years ago

Some recommendations in style and functionality

The community and MS are working on a Style Guide and Best Practices guide https://github.com/PoshCode/PowerShellPracticeAndStyle I know I made the recommendations to the original author but since I see it is being maintained by others now I thought I would repeat them :)

Yoshi325 commented 9 years ago

@secabstraction Some of that might have something to do with trying to maintain backwards compatibility with previous versions of PowerShell.

kjacobsen commented 9 years ago

Happy to lend a hand/check over things if you want.

Kieran Jacobsen


From: Jesse Davis notifications@github.com Sent: Sunday, 13 September 2015 10:47 AM To: besimorhino/powercat Subject: Re: [powercat] Recommendations Following PowerShell Best Practices (#8)

I've started re-writing it, hopefully finish soon. Only made it through the first few lines, the netstat dependency and unnecessary parameter checking were the first things to go. Powershell has a lot of built-in features that are clearly unknown to the original author, no offense intended.

Reply to this email directly or view it on GitHubhttps://github.com/besimorhino/powercat/issues/8#issuecomment-139832598.

besimorhino commented 9 years ago

Awesome! Thanks so much! We'll take a look and start approving them. Due to DerbyCon, it'll be sometime either then or the next few weeks.

Cheers

On Sun, Sep 20, 2015 at 10:08 PM, Jesse Davis notifications@github.com wrote:

some of my updates https://github.com/secabstraction/powercat/blob/master/Invoke-PowerCat.ps1

— Reply to this email directly or view it on GitHub https://github.com/besimorhino/powercat/issues/8#issuecomment-141857939.

secabstraction commented 8 years ago

I did a complete re-write. Should be much easier to follow now. https://github.com/secabstraction/PowerCat