Files
runner-images-sangeeth/images/win/scripts/Installers/Validate-GoogleCloudSDK.ps1
T

20 lines
580 B
PowerShell
Raw Normal View History

2020-06-24 11:37:36 +03:00
################################################################################
## File: Validate-GoogleCloudSDK.ps1
## Desc: Validate Install Google Cloud SDK for Windows
################################################################################
# Simple validation gcloud, gsutil, and bq command line tools
$validateTools = @("bq", "gcloud", "gsutil")
foreach($tool in $validateTools)
{
if (Get-Command -Name $tool)
{
Write-Host "$tool on path"
}
else
{
Write-Host "$tool is not on path"
exit 1
}
}