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
RenameVariable
2
2
--------------
3
+
4
+
5
+
6
+
3
7
### Synopsis
4
8
Renames variables
5
9
10
+
11
+
6
12
---
13
+
14
+
7
15
### Description
8
16
9
17
Renames variables in 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
@@ -29,45 +45,49 @@ Renames variables in a ScriptBlock
29
45
} | .>PipeScript
30
46
```
31
47
48
+
49
+
32
50
---
51
+
52
+
33
53
### Parameters
34
54
#### ** VariableRename**
35
55
36
56
The name of one or more parameters to remove
37
57
38
58
39
59
40
- > ** Type** : ``` [IDictionary] ```
41
60
42
- > ** Required** : true
43
61
44
- > ** Position** : 1
45
62
46
- > ** PipelineInput** : false
63
+ | Type | Required| Position| PipelineInput| Aliases |
64
+ | ---------------| --------| --------| -------------| --------------------------------------------------------------------|
65
+ | ` [IDictionary] ` | true | 1 | false | Variables<br />RenameVariables<br />RenameVariable<br />VariableRenames|
47
66
48
67
49
68
50
- ---
51
69
#### ** ScriptBlock**
52
70
53
71
The ScriptBlock that declares the parameters.
54
72
55
73
56
74
57
- > ** Type** : ``` [ScriptBlock] ```
58
75
59
- > ** Required** : true
60
76
61
- > ** Position** : named
62
77
63
- > ** PipelineInput** : true (ByValue)
78
+ | Type | Required| Position| PipelineInput |
79
+ | ---------------| --------| --------| --------------|
80
+ | ` [ScriptBlock] ` | true | named | true (ByValue)|
81
+
82
+
64
83
65
84
66
85
67
86
---
87
+
88
+
68
89
### Syntax
69
90
``` PowerShell
70
91
RenameVariable [-VariableRename] <IDictionary> -ScriptBlock <ScriptBlock> [<CommonParameters>]
71
92
```
72
- ---
73
93
You can’t perform that action at this time.
0 commit comments