For the complete documentation index, see llms.txt. This page is also available as Markdown.

New-PSUValidationResult

A validation result for a form or stepper.

SYNOPSIS

A validation result for a form or stepper.

SYNTAX

New-PSUValidationResult [-Success] [-ErrorMessage <String>]
 [<CommonParameters>]

DESCRIPTION

A validation result for a form or stepper.

EXAMPLES

Example 1

PS C:\> New-PSUValidationResult -Success

Creates a new validation result that is successful.

Example 2

Creates a new validation result that is unsuccessful with an error message.

PARAMETERS

-ErrorMessage

The error message to display when the validation result is unsuccessful.

-Success

Indicates that the validation result is successful.

CommonParameters

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

INPUTS

None

OUTPUTS

System.Object

NOTES

Last updated

Was this helpful?