Skip to content

Commit abb48b5

Browse files
StartAutomatingStartAutomating
authored andcommitted
Join-PipeScript: Improving Unnamed end block behavior (Fixes #363)
1 parent efaa73a commit abb48b5

File tree

1 file changed

+26
-10
lines changed

1 file changed

+26
-10
lines changed

docs/ValidatePropertyName.md

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
11
ValidatePropertyName
22
--------------------
3+
4+
5+
6+
37
### Synopsis
48
Validates Property Names
59

10+
11+
612
---
13+
14+
715
### Description
816

917
Validates that an object has one or more property names.
1018

19+
20+
1121
---
22+
23+
1224
### Examples
1325
#### EXAMPLE 1
1426
```PowerShell
@@ -44,49 +56,53 @@ $InputObject
4456
```
4557
$InputObject
4658
}
59+
60+
4761
---
62+
63+
4864
### Parameters
4965
#### **PropertyName**
5066

5167
The property names being validated.
5268

5369

5470

55-
> **Type**: ```[String[]]```
5671

57-
> **Required**: true
5872

59-
> **Position**: 1
6073

61-
> **PipelineInput**:false
74+
|Type |Required|Position|PipelineInput|
75+
|------------|--------|--------|-------------|
76+
|`[String[]]`|true |1 |false |
6277

6378

6479

65-
---
6680
#### **VariableAST**
6781

6882
A variable expression.
6983
If this is provided, will apply a ```[ValidateScript({})]``` attribute to the variable, constraining future values.
7084

7185

7286

73-
> **Type**: ```[VariableExpressionAst]```
7487

75-
> **Required**: false
7688

77-
> **Position**: named
7889

79-
> **PipelineInput**:true (ByValue)
90+
|Type |Required|Position|PipelineInput |
91+
|-------------------------|--------|--------|--------------|
92+
|`[VariableExpressionAst]`|false |named |true (ByValue)|
93+
94+
8095

8196

8297

8398
---
99+
100+
84101
### Syntax
85102
```PowerShell
86103
ValidatePropertyName [-PropertyName] <String[]> [<CommonParameters>]
87104
```
88105
```PowerShell
89106
ValidatePropertyName [-PropertyName] <String[]> [-VariableAST <VariableExpressionAst>] [<CommonParameters>]
90107
```
91-
---
92108

0 commit comments

Comments
 (0)