Skip to content

Commit 4ec7159

Browse files
StartAutomatingStartAutomating
authored andcommitted
Join-PipeScript: Improving Unnamed end block behavior (Fixes #363)
1 parent 73c657f commit 4ec7159

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

docs/PipedAssignment.md

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,28 @@
11
PipedAssignment
22
---------------
3+
4+
5+
6+
37
### Synopsis
48
Piped Assignment Transpiler
59

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

917
Enables Piped Assignment (```|=|```).
1018

1119
Piped Assignment allows for an expression to be reassigned based off of the pipeline input.
1220

21+
22+
1323
---
24+
25+
1426
### Examples
1527
#### EXAMPLE 1
1628
```PowerShell
@@ -32,24 +44,30 @@ $Collection = $Collection | Where-Object Name -match $pattern
3244
$Collection = $Collection |
3345
Where-Object Name -match $pattern |
3446
Select-Object -ExpandProperty Name
47+
48+
3549
---
50+
51+
3652
### Parameters
3753
#### **PipelineAst**
3854

39-
> **Type**: ```[PipelineAst]```
4055

41-
> **Required**: true
4256

43-
> **Position**: 1
4457

45-
> **PipelineInput**:true (ByValue)
58+
|Type |Required|Position|PipelineInput |
59+
|---------------|--------|--------|--------------|
60+
|`[PipelineAst]`|true |1 |true (ByValue)|
61+
62+
4663

4764

4865

4966
---
67+
68+
5069
### Syntax
5170
```PowerShell
5271
PipedAssignment [-PipelineAst] <PipelineAst> [<CommonParameters>]
5372
```
54-
---
5573

0 commit comments

Comments
 (0)