Skip to content

Commit 60c87d1

Browse files
StartAutomatingStartAutomating
authored andcommitted
Join-PipeScript: Improving Unnamed end block behavior (Fixes #363)
1 parent 30c7cf3 commit 60c87d1

File tree

1 file changed

+32
-20
lines changed

1 file changed

+32
-20
lines changed

docs/ProxyCommand.md

Lines changed: 32 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
11
ProxyCommand
22
------------
3+
4+
5+
6+
37
### Synopsis
48
Creates Proxy Commands
59

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

917
Generates a Proxy Command for an underlying PowerShell or PipeScript command.
1018

19+
20+
1121
---
22+
23+
1224
### Examples
1325
#### EXAMPLE 1
1426
```PowerShell
@@ -58,79 +70,79 @@ Invoke-PipeScript -ScriptBlock {
5870
} | .>PipeScript
5971
```
6072

73+
74+
6175
---
76+
77+
6278
### Parameters
6379
#### **ScriptBlock**
6480

6581
The ScriptBlock that will become a proxy command. This should be empty, since it is ignored.
6682

6783

6884

69-
> **Type**: ```[ScriptBlock]```
7085

71-
> **Required**: false
7286

73-
> **Position**: named
7487

75-
> **PipelineInput**:true (ByValue)
88+
|Type |Required|Position|PipelineInput |
89+
|---------------|--------|--------|--------------|
90+
|`[ScriptBlock]`|false |named |true (ByValue)|
7691

7792

7893

79-
---
8094
#### **CommandName**
8195

8296
The name of the command being proxied.
8397

8498

8599

86-
> **Type**: ```[String]```
87100

88-
> **Required**: true
89101

90-
> **Position**: 1
91102

92-
> **PipelineInput**:false
103+
|Type |Required|Position|PipelineInput|
104+
|----------|--------|--------|-------------|
105+
|`[String]`|true |1 |false |
93106

94107

95108

96-
---
97109
#### **RemoveParameter**
98110

99111
If provided, will remove any number of parameters from the proxy command.
100112

101113

102114

103-
> **Type**: ```[String[]]```
104115

105-
> **Required**: false
106116

107-
> **Position**: named
108117

109-
> **PipelineInput**:false
118+
|Type |Required|Position|PipelineInput|
119+
|------------|--------|--------|-------------|
120+
|`[String[]]`|false |named |false |
110121

111122

112123

113-
---
114124
#### **DefaultParameter**
115125

116126
Any default parameters for the ProxyCommand.
117127

118128

119129

120-
> **Type**: ```[IDictionary]```
121130

122-
> **Required**: false
123131

124-
> **Position**: named
125132

126-
> **PipelineInput**:false
133+
|Type |Required|Position|PipelineInput|
134+
|---------------|--------|--------|-------------|
135+
|`[IDictionary]`|false |named |false |
136+
137+
127138

128139

129140

130141
---
142+
143+
131144
### Syntax
132145
```PowerShell
133146
ProxyCommand [-ScriptBlock <ScriptBlock>] [-CommandName] <String> [-RemoveParameter <String[]>] [-DefaultParameter <IDictionary>] [<CommonParameters>]
134147
```
135-
---
136148

0 commit comments

Comments
 (0)