Skip to content

Commit b7c476b

Browse files
StartAutomatingStartAutomating
authored andcommitted
Updating action (pulling just before push) (#163)
1 parent 8f26a99 commit b7c476b

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

docs/RemoveParameter.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
2+
RemoveParameter
3+
---------------
4+
### Synopsis
5+
Removes Parameters from a ScriptBlock
6+
7+
---
8+
### Description
9+
10+
Removes Parameters from a ScriptBlock
11+
12+
---
13+
### Related Links
14+
* [Update-PipeScript](Update-PipeScript.md)
15+
---
16+
### Examples
17+
#### EXAMPLE 1
18+
```PowerShell
19+
{
20+
[RemoveParameter("x")]
21+
param($x, $y)
22+
} | .>PipeScript
23+
```
24+
25+
---
26+
### Parameters
27+
#### **ParameterName**
28+
29+
The name of one or more parameters to remove
30+
31+
32+
33+
|Type |Requried|Postion|PipelineInput|
34+
|----------------|--------|-------|-------------|
35+
|```[String[]]```|true |1 |false |
36+
---
37+
#### **ScriptBlock**
38+
39+
The ScriptBlock that declares the parameters.
40+
41+
42+
43+
|Type |Requried|Postion|PipelineInput |
44+
|-------------------|--------|-------|--------------|
45+
|```[ScriptBlock]```|true |named |true (ByValue)|
46+
---
47+
### Syntax
48+
```PowerShell
49+
RemoveParameter [-ParameterName] <String[]> -ScriptBlock <ScriptBlock> [<CommonParameters>]
50+
```
51+
---
52+
53+

0 commit comments

Comments
 (0)