@@ -66,6 +66,16 @@ If provided, will replace regular expression matches.
6666| -------------------| --------| -------| -------------|
6767| ``` [IDictionary] ``` | false | 5 | false |
6868---
69+ #### ** RegionReplacement**
70+
71+ If provided, will replace regions.
72+
73+
74+
75+ | Type | Requried| Postion| PipelineInput|
76+ | -------------------| --------| -------| -------------|
77+ | ``` [IDictionary] ``` | false | 6 | false |
78+ ---
6979#### ** RemoveParameter**
7080
7181If provided, will remove one or more parameters from a ScriptBlock.
@@ -74,7 +84,7 @@ If provided, will remove one or more parameters from a ScriptBlock.
7484
7585| Type | Requried| Postion| PipelineInput|
7686| ----------------| --------| -------| -------------|
77- | ``` [String[]] ``` | false | 6 | false |
87+ | ``` [String[]] ``` | false | 7 | false |
7888---
7989#### ** RenameVariable**
8090
@@ -84,7 +94,7 @@ A collection of variables to rename.
8494
8595| Type | Requried| Postion| PipelineInput|
8696| -------------------| --------| -------| -------------|
87- | ``` [IDictionary] ``` | false | 7 | false |
97+ | ``` [IDictionary] ``` | false | 8 | false |
8898---
8999#### ** Transpile**
90100
@@ -98,7 +108,7 @@ If set, will transpile the updated script block.
98108---
99109### Syntax
100110``` PowerShell
101- Update-PipeScript [[-ScriptBlock] <ScriptBlock>] [[-Text] <String>] [[-TextReplacement] <IDictionary>] [[-AstReplacement] <IDictionary>] [[-RegexReplacement] <IDictionary>] [[-RemoveParameter] <String[]>] [[-RenameVariable] <IDictionary>] [-Transpile] [<CommonParameters>]
111+ Update-PipeScript [[-ScriptBlock] <ScriptBlock>] [[-Text] <String>] [[-TextReplacement] <IDictionary>] [[-AstReplacement] <IDictionary>] [[-RegexReplacement] <IDictionary>] [[-RegionReplacement] <IDictionary>] [[- RemoveParameter] <String[]>] [[-RenameVariable] <IDictionary>] [-Transpile] [<CommonParameters>]
102112```
103113---
104114
0 commit comments