functions/Test-IsWindows.ps1

1
2
3
4
function Test-IsWindows {
    [System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform([System.Runtime.InteropServices.OSPlatform]::Windows)
}