-
Notifications
You must be signed in to change notification settings - Fork 6
Measure ParameterBlockParameterAttribute
dscbot edited this page Oct 8, 2024
·
1 revision
Validates the [Parameter()] attribute for each parameter.
Measure-ParameterBlockParameterAttribute [-ParameterAst] <ParameterAst>
[<CommonParameters>]
All parameters in a param block must contain a [Parameter()] attribute and it must be the first attribute for each parameter and must start with a capital letter P.
Measure-ParameterBlockParameterAttribute -ParameterAst $parameterAst
{{ Fill ParameterAst Description }}
Type: ParameterAst
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
None
- Measure-CatchClause
- Measure-DoUntilStatement
- Measure-DoWhileStatement
- Measure-ForEachStatement
- Measure-ForStatement
- Measure-FunctionBlockBrace
- Measure-Hashtable
- Measure-IfStatement
- Measure-Keyword
- Measure-ParamBlock
- Measure-ParameterBlockMandatoryNamedArgument
- Measure-ParameterBlockParameterAttribute
- Measure-SwitchStatement
- Measure-TryStatement
- Measure-TypeDefinition
- Measure-WhileStatement