You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PowerShellBestPractices.md
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -22,18 +22,18 @@ The following guidelines come from a combined effort from both the PowerShell te
22
22
###Severity: Information
23
23
24
24
###Severity: TBD
25
-
- Support Force Parameter for Interactive Session
26
-
- If your cmdlet is used interactively, always provide a Force parameter to override the interactive actions, such as prompts or reading lines of input). This is important because it allows your cmdlet to be used in non-interactive scripts and hosts. The following methods can be implemented by an interactive host.
27
-
- Document Output Objects
28
-
- Module must be loadable
29
-
- No syntax errors
30
-
- Unresolved dependencies are an error
31
-
- Derive from the Cmdlet or PSCmdlet Classes
32
-
- Specify the Cmdlet Attribute
33
-
- Override an Input Processing Method
34
-
- Specify the OutputType Attribute
35
-
- Write Single Records to the Pipeline
36
-
- Make Cmdlets Case-Insensitive and Case-Preserving
25
+
- Support Force Parameter for Interactive Session
26
+
- If your cmdlet is used interactively, always provide a Force parameter to override the interactive actions, such as prompts or reading lines of input). This is important because it allows your cmdlet to be used in non-interactive scripts and hosts. The following methods can be implemented by an interactive host.
27
+
- Document Output Objects
28
+
- Module must be loadable
29
+
- No syntax errors
30
+
- Unresolved dependencies are an error
31
+
- Derive from the Cmdlet or PSCmdlet Classes
32
+
- Specify the Cmdlet Attribute
33
+
- Override an Input Processing Method
34
+
- Specify the OutputType Attribute
35
+
- Write Single Records to the Pipeline
36
+
- Make Cmdlets Case-Insensitive and Case-Preserving
0 commit comments