Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/laurentdardenne/parametersetrules

This module contains script analyzer rules to control the param block of a scriptblock.
https://github.com/laurentdardenne/parametersetrules

Last synced: about 1 month ago
JSON representation

This module contains script analyzer rules to control the param block of a scriptblock.

Awesome Lists containing this project

README

        

[![Build status](https://ci.appveyor.com/api/projects/status/wn4n7ml61ygmoume?svg=true)](https://ci.appveyor.com/project/LaurentDardenne/parametersetrules)

# ParameterSetRules
This module contains script analyzer rules to control the param block of a scriptblock.

**Documentation**

[Parameter set rules](https://github.com/LaurentDardenne/ParameterSetRules/tree/master/RuleDocumentation)

How to test parameterset of a [binary cmdlet](https://github.com/LaurentDardenne/ParameterSetRules/blob/master/Docs/en-US/Example.md).

**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 ParameterSetRules -Repository OttoMatt -Verbose -Force
```