New-PSUValidationResult
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 -SuccessCreates 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
RELATED LINKS
Last updated
Was this helpful?