https://github.com/laurentdardenne/optimizationrules
This module contains script analyzer rules to search statements can be improved.
https://github.com/laurentdardenne/optimizationrules
powershell powershell-module psscriptanalyzer rule ruleset
Last synced: 2 months ago
JSON representation
This module contains script analyzer rules to search statements can be improved.
- Host: GitHub
- URL: https://github.com/laurentdardenne/optimizationrules
- Owner: LaurentDardenne
- Created: 2017-05-08T14:15:21.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-12T15:11:55.000Z (about 7 years ago)
- Last Synced: 2025-10-13T10:13:49.107Z (4 months ago)
- Topics: powershell, powershell-module, psscriptanalyzer, rule, ruleset
- Language: PowerShell
- Size: 36.1 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
[](https://ci.appveyor.com/project/LaurentDardenne/optimizationrules)
PSScriptAnalyzer rules suggesting optimizations for loop statements 'For'.
**Documentation**
[Optimization rules](https://github.com/LaurentDardenne/OptimizationRules/tree/master/RuleDocumentation)
**PowerShell 5 Installation, (development version)**
From PowerShell run:
```Powershell
$PSGalleryPublishUri = 'https://www.myget.org/F/ottomatt/api/v2/package'
$PSGallerySourceUri = 'https://www.myget.org/F/ottomatt/api/v2'
Register-PSRepository -Name OttoMatt -SourceLocation $PSGallerySourceUri -PublishLocation $PSGalleryPublishUri #-InstallationPolicy Trusted
Install-Module OptimizationRules -Repository OttoMatt -Verbose -Force
```