File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,16 @@ Creates new PipeScript and PowerShell ScriptBlocks.
1616New-PipeScript -Parameter @{a='b'}
1717```
1818
19+ #### EXAMPLE 2
20+ ``` PowerShell
21+ New-PipeScript -Parameter ([Net.HttpWebRequest].GetProperties()) -ParameterHelp @{
22+ Accept='
23+ HTTP Accept.
24+ HTTP Accept indicates what content types the web request will accept as a response.
25+ '
26+ }
27+ ```
28+
1929---
2030### Parameters
2131#### ** Parameter**
@@ -104,9 +114,19 @@ By default, ```[PSObject]```.
104114| ------------| --------| -------| -------------|
105115| ``` [Type] ``` | false | 7 | false |
106116---
117+ #### ** ParameterHelp**
118+
119+ If provided, will add inline help to parameters.
120+
121+
122+
123+ | Type | Requried| Postion| PipelineInput|
124+ | -------------------| --------| -------| -------------|
125+ | ``` [IDictionary] ``` | false | 8 | false |
126+ ---
107127### Syntax
108128``` PowerShell
109- New-PipeScript [[-Parameter] <Object>] [[-DynamicParameter] <ScriptBlock>] [[-Begin] <ScriptBlock>] [[-Process] <ScriptBlock>] [[-End] <ScriptBlock>] [[-Header] <String>] [-AutoParameter] [[-AutoParameterType] <Type>] [<CommonParameters>]
129+ New-PipeScript [[-Parameter] <Object>] [[-DynamicParameter] <ScriptBlock>] [[-Begin] <ScriptBlock>] [[-Process] <ScriptBlock>] [[-End] <ScriptBlock>] [[-Header] <String>] [-AutoParameter] [[-AutoParameterType] <Type>] [[-ParameterHelp] <IDictionary>] [ <CommonParameters>]
110130```
111131---
112132
You can’t perform that action at this time.
0 commit comments