Skip to content

Commit 8f26a99

Browse files
StartAutomatingStartAutomating
authored andcommitted
Updating action (pulling just before push) (#163)
1 parent 6438897 commit 8f26a99

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

docs/New-PipeScript.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)