Skip to content

Commit e76d9c3

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

File tree

1 file changed

+30
-10
lines changed

1 file changed

+30
-10
lines changed

docs/RemoveParameter.md

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,36 @@
11
RemoveParameter
22
---------------
3+
4+
5+
6+
37
### Synopsis
48
Removes Parameters from a ScriptBlock
59

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

917
Removes 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

3151
The 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

4866
The 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
6586
RemoveParameter [-ParameterName] <String[]> -ScriptBlock <ScriptBlock> [<CommonParameters>]
6687
```
67-
---
6888

0 commit comments

Comments
 (0)