File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed
Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -82,9 +82,31 @@ The script header.
8282| --------------| --------| -------| ---------------------|
8383| ``` [String] ``` | false | 6 | true (ByPropertyName)|
8484---
85+ #### ** AutoParameter**
86+
87+ If provided, will automatically create parameters.
88+ Parameters will be automatically created for any unassigned variables.
89+
90+
91+
92+ | Type | Requried| Postion| PipelineInput|
93+ | --------------| --------| -------| -------------|
94+ | ``` [Switch] ``` | false | named | false |
95+ ---
96+ #### ** AutoParameterType**
97+
98+ The type used for automatically generated parameters.
99+ By default, ``` [PSObject] ``` .
100+
101+
102+
103+ | Type | Requried| Postion| PipelineInput|
104+ | ------------| --------| -------| -------------|
105+ | ``` [Type] ``` | false | 7 | false |
106+ ---
85107### Syntax
86108``` PowerShell
87- New-PipeScript [[-Parameter] <Object>] [[-DynamicParameter] <ScriptBlock>] [[-Begin] <ScriptBlock>] [[-Process] <ScriptBlock>] [[-End] <ScriptBlock>] [[-Header] <String>] [<CommonParameters>]
109+ New-PipeScript [[-Parameter] <Object>] [[-DynamicParameter] <ScriptBlock>] [[-Begin] <ScriptBlock>] [[-Process] <ScriptBlock>] [[-End] <ScriptBlock>] [[-Header] <String>] [-AutoParameter] [[-AutoParameterType] <Type>] [ <CommonParameters>]
88110```
89111---
90112
You can’t perform that action at this time.
0 commit comments