Functions/Private/Get-Platform.ps1

function Get-Platform(){
    if ($PSVersionTable.PSEdition -eq "Desktop"){
        "Win32NT"
    }
    else{
        "{0}" -f $PSVersionTable.Platform
    }
}