@@ -47,21 +47,20 @@ No rules defined.
47
47
48
48
### Severity: TBD
49
49
50
- - Support Force Parameter for Interactive Session
51
- - If your cmdlet is used interactively, always provide a Force parameter to override the interactive
52
- actions, such as prompts or reading lines of input). This is important because it allows your
53
- cmdlet to be used in non-interactive scripts and hosts. The following methods can be implemented
54
- by an interactive host.
55
- - Document Output Objects
50
+ - Support ** Force** parameter for interactive sessions. If your cmdlet is used interactively, always
51
+ provide a ** Force** parameter to override the interactive actions, such as prompts or reading
52
+ lines of input. This is important because it allows your cmdlet to be used in non-interactive
53
+ scripts and hosts. The following methods can be implemented by an interactive host.
54
+ - Document output objects
56
55
- Module must be loadable
57
56
- No syntax errors
58
57
- Unresolved dependencies are an error
59
58
- Derive from the Cmdlet or PSCmdlet Classes
60
59
- Specify the Cmdlet Attribute
61
60
- Override an Input Processing Method
62
61
- Specify the OutputType Attribute
63
- - Write Single Records to the Pipeline
64
- - Make Cmdlets Case-Insensitive and Case-Preserving
62
+ - Write single records to the pipeline
63
+ - Make cmdlets case-insensitive and case-preserving
65
64
66
65
## Script Functions
67
66
@@ -166,11 +165,11 @@ No rules defined.
166
165
### Severity: Error
167
166
168
167
- Use standard DSC methods
169
- [ StandardDSCFunctionsInResource] ( Rules/StandardDSCFunctionsInResource .md )
168
+ [ StandardDSCFunctionsInResource] ( Rules/DSCStandardDSCFunctionsInResource .md )
170
169
- Use identical mandatory parameters for all DSC methods
171
- [ UseIdenticalMandatoryParametersForDSC] ( Rules/UseIdenticalMandatoryParametersForDSC .md )
170
+ [ UseIdenticalMandatoryParametersForDSC] ( Rules/DSCUseIdenticalMandatoryParametersForDSC .md )
172
171
- Use identical parameters for Set and Test DSC methods
173
- [ UseIdenticalParametersForDSC] ( Rules/UseIdenticalParametersForDSC .md )
172
+ [ UseIdenticalParametersForDSC] ( Rules/DSCUseIdenticalParametersForDSC .md )
174
173
175
174
### Severity: Warning
176
175
@@ -179,12 +178,12 @@ No rules defined.
179
178
### Severity: Information
180
179
181
180
- The following three recommendations are covered by the
182
- [ ReturnCorrectTypesForDSCFunctions] ( Rules/ReturnCorrectTypesForDSCFunctions .md ) rule
181
+ [ ReturnCorrectTypesForDSCFunctions] ( Rules/DSCReturnCorrectTypesForDSCFunctions .md ) rule
183
182
- Avoid returning any object from a ` Set-TargetResource ` or Set (Class Based) function
184
183
- Returning a Boolean object from a ` Test-TargetResource ` or Test (Class Based) function
185
184
- Returning an object from a ` Get-TargetResource ` or Get (Class Based) function
186
- - DSC resources should have DSC tests [ DSCTestsPresent] ( Rules/DscTestsPresent .md )
187
- - DSC resources should have DSC examples [ DSCExamplesPresent] ( Rules/DscExamplesPresent .md )
185
+ - DSC resources should have DSC tests [ DSCTestsPresent] ( Rules/DSCDscTestsPresent .md )
186
+ - DSC resources should have DSC examples [ DSCExamplesPresent] ( Rules/DSCDscExamplesPresent .md )
188
187
189
188
### Severity: TBD
190
189
0 commit comments