File tree Expand file tree Collapse file tree 1 file changed +60
-0
lines changed
Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Original file line number Diff line number Diff line change 1+
2+ VBN
3+ ---
4+ ### Synopsis
5+ ValueFromPiplineByPropertyName Shorthand
6+
7+ ---
8+ ### Description
9+
10+ This is syntax shorthand to create [ Parameter] attributes that take ValueFromPipelineByPropertyName.
11+
12+ ---
13+ ### Parameters
14+ #### ** ParameterSet**
15+
16+ The name of the parameter set
17+
18+
19+
20+ | Type | Requried| Postion| PipelineInput|
21+ | --------------| --------| -------| -------------|
22+ | ``` [String] ``` | false | 1 | false |
23+ ---
24+ #### ** Mandatory**
25+
26+ If set, the parameter will be Mandatory.
27+
28+
29+
30+ | Type | Requried| Postion| PipelineInput|
31+ | --------------| --------| -------| -------------|
32+ | ``` [Switch] ``` | false | named | false |
33+ ---
34+ #### ** ValueFromPipeline**
35+
36+ If set, the parameter will also take value from Pipeline
37+
38+
39+
40+ | Type | Requried| Postion| PipelineInput|
41+ | --------------| --------| -------| -------------|
42+ | ``` [Switch] ``` | false | named | false |
43+ ---
44+ #### ** Position**
45+
46+ The position of the parameter.
47+
48+
49+
50+ | Type | Requried| Postion| PipelineInput|
51+ | -------------| --------| -------| -------------|
52+ | ``` [Int32] ``` | false | 2 | false |
53+ ---
54+ ### Syntax
55+ ``` PowerShell
56+ VBN [[-ParameterSet] <String>] [-Mandatory] [-ValueFromPipeline] [[-Position] <Int32>] [<CommonParameters>]
57+ ```
58+ ---
59+
60+
You can’t perform that action at this time.
0 commit comments