ConvertFrom-BuildNumber
SYNOPSIS
Converts a Microsoft Build number to a version number.
SYNTAX
ConvertFrom-BuildNumber [-BuildNumber] <Int32[]> [<CommonParameters>]
DESCRIPTION
Takes a build number for Windows 8/Server 2012 or newer and converts it to a version number and Operatiing System.
EXAMPLES
EXAMPLE 1
ConvertFrom-BuildNumber 20348
Runs ConvertFrom-BuildNumber. This example will return Windows Server 2022.
PARAMETERS
-BuildNumber
Specifies the number of the Microsoft Build.
Type: Int32[]
Parameter Sets: (All)
Aliases: Build
Required: True
Position: 1
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
OUTPUTS
System.Management.Automation.PSCustomObject
NOTES
ALIASES
None.
PLATFORM APPLICABILITY
Windows only. The platform-aware loader does not export this command on Linux or macOS.
POWERSHELL COMPATIBILITY
See PowerShell compatibility for the supported runtime policy. PowerShell 7.6 LTS is preferred.
RELATED LINKS
https://docs.keldor.dev/powershell/keldor/ConvertFrom-BuildNumber