Skip to content

Commit 8702c91

Browse files
StartAutomatingStartAutomating
authored andcommitted
Join-PipeScript: Improving Unnamed end block behavior (Fixes #363)
1 parent e76d9c3 commit 8702c91

File tree

1 file changed

+30
-10
lines changed

1 file changed

+30
-10
lines changed

docs/RenameVariable.md

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,36 @@
11
RenameVariable
22
--------------
3+
4+
5+
6+
37
### Synopsis
48
Renames variables
59

10+
11+
612
---
13+
14+
715
### Description
816

917
Renames variables in 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
@@ -29,45 +45,49 @@ Renames variables in a ScriptBlock
2945
} | .>PipeScript
3046
```
3147

48+
49+
3250
---
51+
52+
3353
### Parameters
3454
#### **VariableRename**
3555

3656
The name of one or more parameters to remove
3757

3858

3959

40-
> **Type**: ```[IDictionary]```
4160

42-
> **Required**: true
4361

44-
> **Position**: 1
4562

46-
> **PipelineInput**:false
63+
|Type |Required|Position|PipelineInput|Aliases |
64+
|---------------|--------|--------|-------------|--------------------------------------------------------------------|
65+
|`[IDictionary]`|true |1 |false |Variables<br/>RenameVariables<br/>RenameVariable<br/>VariableRenames|
4766

4867

4968

50-
---
5169
#### **ScriptBlock**
5270

5371
The ScriptBlock that declares the parameters.
5472

5573

5674

57-
> **Type**: ```[ScriptBlock]```
5875

59-
> **Required**: true
6076

61-
> **Position**: named
6277

63-
> **PipelineInput**:true (ByValue)
78+
|Type |Required|Position|PipelineInput |
79+
|---------------|--------|--------|--------------|
80+
|`[ScriptBlock]`|true |named |true (ByValue)|
81+
82+
6483

6584

6685

6786
---
87+
88+
6889
### Syntax
6990
```PowerShell
7091
RenameVariable [-VariableRename] <IDictionary> -ScriptBlock <ScriptBlock> [<CommonParameters>]
7192
```
72-
---
7393

0 commit comments

Comments
 (0)