Private/Get-SpecPackageProvider.ps1
function Get-SpecPackageProvider { param () try { $nugetProvider = Get-PackageProvider -Name NuGet -ErrorAction Stop return $nugetprovider } catch { return $false } } |
function Get-SpecPackageProvider { param () try { $nugetProvider = Get-PackageProvider -Name NuGet -ErrorAction Stop return $nugetprovider } catch { return $false } } |