Skip to content

Commit 832c6a9

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

1 file changed

Lines changed: 23 additions & 5 deletions

File tree

docs/New.md

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
New
22
---
3+
4+
5+
6+
37
### Synopsis
48
'new' keyword
59

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

917
This transpiler enables the use of the keyword 'new'.
@@ -18,7 +26,11 @@ If 'new' is followed by a single string, and the type has a ::Parse method, new
1826

1927
If 'new'
2028

29+
30+
2131
---
32+
33+
2234
### Examples
2335
#### EXAMPLE 1
2436
```PowerShell
@@ -70,24 +82,30 @@ If 'new'
7082
{ new 'https://schema.org/Thing' }
7183
```
7284

85+
86+
7387
---
88+
89+
7490
### Parameters
7591
#### **CommandAst**
7692

77-
> **Type**: ```[CommandAst]```
7893

79-
> **Required**: true
8094

81-
> **Position**: 1
8295

83-
> **PipelineInput**:true (ByValue)
96+
|Type |Required|Position|PipelineInput |
97+
|--------------|--------|--------|--------------|
98+
|`[CommandAst]`|true |1 |true (ByValue)|
99+
100+
84101

85102

86103

87104
---
105+
106+
88107
### Syntax
89108
```PowerShell
90109
New [-CommandAst] <CommandAst> [<CommonParameters>]
91110
```
92-
---
93111

0 commit comments

Comments
 (0)