Private/Helper/Get-OSDiskType.ps1

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


FUNCTION Get-OSDiskType {
    <#
    .SYNOPSIS
    Retrieves the type of the operating system disk.
 
    .DESCRIPTION
    This function returns the media type of the disk that contains the operating system.
 
    .PARAMETER None
 
    .EXAMPLE
    Get-OSDiskType
 
    .NOTES
    The function uses the Get-VolumeSystem cmdlet to determine the disk media type.
    #>


    RETURN (Get-VolumeSystem).DiskMediaType
}