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 1
1
RemoveParameter
2
2
---------------
3
+
4
+
5
+
6
+
3
7
### Synopsis
4
8
Removes Parameters from a ScriptBlock
5
9
10
+
11
+
6
12
---
13
+
14
+
7
15
### Description
8
16
9
17
Removes Parameters from a ScriptBlock
10
18
19
+
20
+
11
21
---
22
+
23
+
12
24
### Related Links
13
25
* [ Update-PipeScript] ( Update-PipeScript.md )
14
26
15
27
16
28
29
+
30
+
17
31
---
32
+
33
+
18
34
### Examples
19
35
#### EXAMPLE 1
20
36
``` PowerShell
@@ -24,45 +40,49 @@ Removes Parameters from a ScriptBlock
24
40
} | .>PipeScript
25
41
```
26
42
43
+
44
+
27
45
---
46
+
47
+
28
48
### Parameters
29
49
#### ** ParameterName**
30
50
31
51
The name of one or more parameters to remove
32
52
33
53
34
54
35
- > ** Type** : ``` [String[]] ```
36
55
37
- > ** Required** : true
38
56
39
- > ** Position** : 1
40
57
41
- > ** PipelineInput** : false
58
+ | Type | Required| Position| PipelineInput|
59
+ | ------------| --------| --------| -------------|
60
+ | ` [String[]] ` | true | 1 | false |
42
61
43
62
44
63
45
- ---
46
64
#### ** ScriptBlock**
47
65
48
66
The ScriptBlock that declares the parameters.
49
67
50
68
51
69
52
- > ** Type** : ``` [ScriptBlock] ```
53
70
54
- > ** Required** : true
55
71
56
- > ** Position** : named
57
72
58
- > ** PipelineInput** : true (ByValue)
73
+ | Type | Required| Position| PipelineInput |
74
+ | ---------------| --------| --------| --------------|
75
+ | ` [ScriptBlock] ` | true | named | true (ByValue)|
76
+
77
+
59
78
60
79
61
80
62
81
---
82
+
83
+
63
84
### Syntax
64
85
``` PowerShell
65
86
RemoveParameter [-ParameterName] <String[]> -ScriptBlock <ScriptBlock> [<CommonParameters>]
66
87
```
67
- ---
68
88
You can’t perform that action at this time.
0 commit comments