Skip to content

Test Version

apobekiaris edited this page Sep 4, 2020 · 4 revisions

external help file: XpandPwsh-help.xml Module Name: XpandPwsh schema: 2.0.0

Test-Version

SYNOPSIS

Test a string if it is a valid System.Version.

SYNTAX

Test-Version [-Version] <String> [<CommonParameters>]

DESCRIPTION

Test a string if it is a valid System.Version.

EXAMPLES

Example 1

PS C:\> Test-Version $version

Test if $version value is a valid version.

PARAMETERS

-Version

{{ Fill Version Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
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.String

OUTPUTS

System.Object

NOTES

RELATED LINKS

image

image


Star the project if you think it deserves it.

GitHub stars

Fork the project to extend and contribute.

GitHub forks

Clone this wiki locally