File tree Expand file tree Collapse file tree 1 file changed +26
-10
lines changed Expand file tree Collapse file tree 1 file changed +26
-10
lines changed Original file line number Diff line number Diff line change 1
1
ValidatePropertyName
2
2
--------------------
3
+
4
+
5
+
6
+
3
7
### Synopsis
4
8
Validates Property Names
5
9
10
+
11
+
6
12
---
13
+
14
+
7
15
### Description
8
16
9
17
Validates that an object has one or more property names.
10
18
19
+
20
+
11
21
---
22
+
23
+
12
24
### Examples
13
25
#### EXAMPLE 1
14
26
``` PowerShell
@@ -44,49 +56,53 @@ $InputObject
44
56
```
45
57
$InputObject
46
58
}
59
+
60
+
47
61
---
62
+
63
+
48
64
### Parameters
49
65
#### ** PropertyName**
50
66
51
67
The property names being validated.
52
68
53
69
54
70
55
- > ** Type** : ``` [String[]] ```
56
71
57
- > ** Required** : true
58
72
59
- > ** Position** : 1
60
73
61
- > ** PipelineInput** : false
74
+ | Type | Required| Position| PipelineInput|
75
+ | ------------| --------| --------| -------------|
76
+ | ` [String[]] ` | true | 1 | false |
62
77
63
78
64
79
65
- ---
66
80
#### ** VariableAST**
67
81
68
82
A variable expression.
69
83
If this is provided, will apply a ``` [ValidateScript({})] ``` attribute to the variable, constraining future values.
70
84
71
85
72
86
73
- > ** Type** : ``` [VariableExpressionAst] ```
74
87
75
- > ** Required** : false
76
88
77
- > ** Position** : named
78
89
79
- > ** PipelineInput** : true (ByValue)
90
+ | Type | Required| Position| PipelineInput |
91
+ | -------------------------| --------| --------| --------------|
92
+ | ` [VariableExpressionAst] ` | false | named | true (ByValue)|
93
+
94
+
80
95
81
96
82
97
83
98
---
99
+
100
+
84
101
### Syntax
85
102
``` PowerShell
86
103
ValidatePropertyName [-PropertyName] <String[]> [<CommonParameters>]
87
104
```
88
105
``` PowerShell
89
106
ValidatePropertyName [-PropertyName] <String[]> [-VariableAST <VariableExpressionAst>] [<CommonParameters>]
90
107
```
91
- ---
92
108
You can’t perform that action at this time.
0 commit comments