Private/Other/Test-CommandCurlExe.ps1

1
2
3
4
5
6
7
8
9
10
11
function Test-CommandCurlExe {
    [CmdletBinding()]
    param ()
    
    if (Get-Command 'curl.exe' -ErrorAction SilentlyContinue) {
        Return $true
    }
    else {
        Return $false
    }
}