Private/Helper/Get-OSBuild.ps1

<#
Copyright © 2024 Integris. For internal company use only. All rights reserved.
#>


FUNCTION Get-OSBuild {
    <#
    .SYNOPSIS
    Retrieves the build number of the operating system.
 
    .DESCRIPTION
    This function returns the build number of the operating system currently running on the machine.
 
    .PARAMETER None
 
    .EXAMPLE
    Get-OSBuild
 
    .NOTES
    The function uses the System.Environment class to get the OS version build number.
    #>


    RETURN [System.Environment]::OSVersion.Version.Build
}