File tree Expand file tree Collapse file tree 1 file changed +30
-10
lines changed
Expand file tree Collapse file tree 1 file changed +30
-10
lines changed Original file line number Diff line number Diff line change 11RemoveParameter
22---------------
3+
4+
5+
6+
37### Synopsis
48Removes Parameters from a ScriptBlock
59
10+
11+
612---
13+
14+
715### Description
816
917Removes Parameters from a ScriptBlock
1018
19+
20+
1121---
22+
23+
1224### Related Links
1325* [ Update-PipeScript] ( Update-PipeScript.md )
1426
1527
1628
29+
30+
1731---
32+
33+
1834### Examples
1935#### EXAMPLE 1
2036``` PowerShell
@@ -24,45 +40,49 @@ Removes Parameters from a ScriptBlock
2440} | .>PipeScript
2541```
2642
43+
44+
2745---
46+
47+
2848### Parameters
2949#### ** ParameterName**
3050
3151The name of one or more parameters to remove
3252
3353
3454
35- > ** Type** : ``` [String[]] ```
3655
37- > ** Required** : true
3856
39- > ** Position** : 1
4057
41- > ** PipelineInput** : false
58+ | Type | Required| Position| PipelineInput|
59+ | ------------| --------| --------| -------------|
60+ | ` [String[]] ` | true | 1 | false |
4261
4362
4463
45- ---
4664#### ** ScriptBlock**
4765
4866The ScriptBlock that declares the parameters.
4967
5068
5169
52- > ** Type** : ``` [ScriptBlock] ```
5370
54- > ** Required** : true
5571
56- > ** Position** : named
5772
58- > ** PipelineInput** : true (ByValue)
73+ | Type | Required| Position| PipelineInput |
74+ | ---------------| --------| --------| --------------|
75+ | ` [ScriptBlock] ` | true | named | true (ByValue)|
76+
77+
5978
6079
6180
6281---
82+
83+
6384### Syntax
6485``` PowerShell
6586RemoveParameter [-ParameterName] <String[]> -ScriptBlock <ScriptBlock> [<CommonParameters>]
6687```
67- ---
6888
You can’t perform that action at this time.
0 commit comments