private/Get-OsPlatform.ps1

1
2
3
4
5
6
7
8
9

function Get-OsPlatform() {
    [CmdletBinding()]
    Param() 

    PROCESS {
        return [Environment]::OSVersion.Platform.ToString();
    }
}