Skip to content

Update Version

apobekiaris edited this page Sep 4, 2020 · 6 revisions

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

Update-Version

SYNOPSIS

Update version parts.

SYNTAX

Update-Version [-Version] <String> [-Major] [-Minor] [-Build] [-KeepBuild] [-Revision] [<CommonParameters>]

DESCRIPTION

Update version parts.

EXAMPLES

Example 1

PS C:\> Update-Version -Version 19.2.700 -Build

Major  Minor  Build  Revision
-----  -----  -----  --------
19     2      701    0

Increase the build of 19.2.700

PARAMETERS

-Build

{{ Fill Build Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-KeepBuild

{{ Fill KeepBuild Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Major

{{ Fill Major Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Minor

{{ Fill Minor Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Revision

{{ Fill Revision Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Version

{{ Fill Version Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
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

None

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