Skip to content

Measure DoUntilStatement

dscbot edited this page Oct 8, 2024 · 1 revision

Measure-DoUntilStatement

SYNOPSIS

Validates the DoUntil-statement block braces and new lines around braces.

SYNTAX

Measure-DoUntilStatement [-DoUntilStatementAst] <DoUntilStatementAst> 
 [<CommonParameters>]

DESCRIPTION

Each DoUntil-statement should have the opening brace on a separate line. Also, the opening brace should be followed by a new line.

EXAMPLES

EXAMPLE 1

Measure-DoUntilStatement -DoUntilStatementAst $ScriptBlockAst

PARAMETERS

-DoUntilStatementAst

{{ Fill DoUntilStatementAst Description }}

Type: DoUntilStatementAst
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

[System.Management.Automation.Language.DoUntilStatementAst]

OUTPUTS

[Microsoft.Windows.Powershell.ScriptAnalyzer.Generic.DiagnosticRecord[]]

NOTES

None

RELATED LINKS