https://github.com/thomasrayner/custompssarules
Some custom PSScriptAnalyzer rules
https://github.com/thomasrayner/custompssarules
Last synced: about 1 year ago
JSON representation
Some custom PSScriptAnalyzer rules
- Host: GitHub
- URL: https://github.com/thomasrayner/custompssarules
- Owner: thomasrayner
- Created: 2017-03-29T21:29:13.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-01T22:01:23.000Z (about 9 years ago)
- Last Synced: 2024-10-18T07:38:14.667Z (over 1 year ago)
- Language: PowerShell
- Size: 12.7 KB
- Stars: 11
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Thomas Rayner's Custom PSScriptAnalyzer Rules
This is a collection of random PSSA rules I sometimes use in my projects. Some are better documented and tested than others.
They don't all belong in a production environment either. Test-AvoidGet.psm1, for instance, throws warnings if you use the Get verb. Obviously that's just for demo purposes when you want to display a false positive or play around with violations in a good script.