Skip to content

Measure TypeDefinition

dscbot edited this page Oct 8, 2024 · 1 revision

Measure-TypeDefinition

SYNOPSIS

Validates the Class and Enum of PowerShell.

SYNTAX

Measure-TypeDefinition [-TypeDefinitionAst] <TypeDefinitionAst> 
 [<CommonParameters>]

DESCRIPTION

Each Class or Enum must be formatted correctly.

EXAMPLES

EXAMPLE 1

Measure-TypeDefinition -TypeDefinitionAst $ScriptBlockAst

PARAMETERS

-TypeDefinitionAst

{{ Fill TypeDefinitionAst Description }}

Type: TypeDefinitionAst
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.TypeDefinitionAst]

OUTPUTS

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

NOTES

None

RELATED LINKS