ConvertTo-PSSemVer¶
SYNOPSIS¶
Converts a version string to a PSSemVer object.
SYNTAX¶
__AllParameterSets¶
ConvertTo-PSSemVer [-Version] <string> [<CommonParameters>]
ALIASES¶
This cmdlet has the following aliases, {{Insert list of aliases}}
DESCRIPTION¶
This function takes a version string and converts it to a PSSemVer object.
EXAMPLES¶
EXAMPLE 1¶
'1.2.3-alpha.1+001' | ConvertTo-SemVer
Major : 1 Minor : 2 Patch : 3 Prerelease : alpha.1 BuildMetadata : 001
PARAMETERS¶
-Version¶
The version to convert.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: true
ValueFromPipeline: true
ValueFromPipelineByPropertyName: true
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
CommonParameters¶
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS¶
System.String¶
{{ Fill in the Description }}
OUTPUTS¶
PSSemVer¶
{{ Fill in the Description }}
NOTES¶
Compatible with SemVer 2.0.0.
RELATED LINKS¶
{{ Fill in the related links here }}