File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -83,17 +83,16 @@ function Get-USCitizenCapability {
83
83
84
84
#### Always have at least a ` process {} ` code block if any parameters takes values from the Pipeline.
85
85
86
- #### Specify an OutputType attribute if the advanced function returns
87
- an object or collection of objects. If the function returns different
88
- object types depending on the parameter set provide one per parameter set.
86
+ #### Specify an OutputType attribute if the advanced function returns an object or collection of objects.
87
+
88
+ If the function returns different object types depending on the parameter set provide one per parameter set.
89
89
90
90
``` PowerShell
91
91
[OutputType([<TypeLiteral>], ParameterSetName="<Name>")]
92
92
[OutputType("<TypeNameString>", ParameterSetName="<Name>")]
93
93
```
94
94
95
- #### When a ParameterSetName is used in any of the parameters, always provide a
96
- DefaultParameterSetName in the CmdletBinding attribute.
95
+ #### When a ParameterSetName is used in any of the parameters, always provide a DefaultParameterSetName in the CmdletBinding attribute.
97
96
98
97
``` PowerShell
99
98
function Get-User {
You can’t perform that action at this time.
0 commit comments