Skip to content

Commit 041c376

Browse files
StartAutomatingStartAutomating
authored andcommitted
New-PipeScript: Allowing -Parameter dictionary values to be dictionaries or PSObjects (Fixes #311)
1 parent f1c2bf9 commit 041c376

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

docs/New-PipeScript.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,17 @@ HTTP Accept indicates what content types the web request will accept as a respon
3737
}
3838
```
3939

40+
#### EXAMPLE 3
41+
```PowerShell
42+
New-PipeScript -Parameter @{"bar"=@{
43+
Name = "foo"
44+
Help = 'Foobar'
45+
Attributes = "Mandatory","ValueFromPipelineByPropertyName"
46+
Aliases = "fubar"
47+
Type = "string"
48+
}}
49+
```
50+
4051

4152

4253
---

0 commit comments

Comments
 (0)