Skip to content

Commit 231ba91

Browse files
Update PowerShellBestPractices.md
1 parent 83f214a commit 231ba91

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

PowerShellBestPractices.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,15 @@ The following guidelines come from a combined effort from both the PowerShell te
121121
###Severity: TBD
122122
- For PowerShell V4: Resource module contains .psd1 file and schema.mof for every resource
123123
- MOF has description for each element [IssueOpened](https://github.com/PowerShell/PSScriptAnalyzer/issues/131)
124-
- Resource module must alwasy contain .psd1 file and schema.mof (for non-class resource).
124+
- Resource module must contain .psd1 file (always) and schema.mof (for non-class resource). [IssueOpened](https://github.com/PowerShell/PSScriptAnalyzer/issues/116)
125125
- Use ShouldProcess for a Set DSC method
126-
- Resource module contains Resources folder which contains the resources [IssueOpened](https://github.com/PowerShell/PSScriptAnalyzer/issues/130)
126+
- Resource module contains DscResources folder which contains the resources [IssueOpened](https://github.com/PowerShell/PSScriptAnalyzer/issues/130)
127127

128128

129129

130130
###Reference:
131-
Cmdlet Development Guidelines from MSDN site (Cmdlet Development Guidelines)
131+
* Cmdlet Development Guidelines from MSDN site (Cmdlet Development Guidelines)
132132

133-
The Community Book of PowerShell Practices (Compiled by Don Jones and Matt Penny and the Windows PowerShell Community)
133+
* The Community Book of PowerShell Practices (Compiled by Don Jones and Matt Penny and the Windows PowerShell Community)
134+
135+
* [PowerShell DSC Resource Design and Testing Checklist](http://blogs.msdn.com/b/powershell/archive/2014/11/18/powershell-dsc-resource-design-and-testing-checklist.aspx)

0 commit comments

Comments
 (0)