-
-
Notifications
You must be signed in to change notification settings - Fork 7
Get VersionPart
apobekiaris edited this page Sep 4, 2020
·
5 revisions
Version formatting
Get-VersionPart [-Version] <Version> [[-Part] <String>] [<CommonParameters>]
Version formatting
PS C:\> Get-VersionPart 19.2.6.7 -Part Build
19.2.6
Returns only the build part of 19.2.6.7
{{ Fill Part Description }}
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: Build, Minor
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill Version Description }}
Type: Version
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.