From 89b1d058fb9b3480dbbb97143b4b81353d8cf198 Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Date: Fri, 11 Nov 2022 16:27:54 +0100 Subject: [PATCH] Fix Google CloudSDK version output (#6550) --- images/win/scripts/SoftwareReport/SoftwareReport.Tools.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/win/scripts/SoftwareReport/SoftwareReport.Tools.psm1 b/images/win/scripts/SoftwareReport/SoftwareReport.Tools.psm1 index 30c5e495..f48041bf 100644 --- a/images/win/scripts/SoftwareReport/SoftwareReport.Tools.psm1 +++ b/images/win/scripts/SoftwareReport/SoftwareReport.Tools.psm1 @@ -258,7 +258,7 @@ function Get-StackVersion { } function Get-GoogleCloudSDKVersion { - (gcloud --version) -match "Google Cloud SDK" + (cmd /c "gcloud --version") -match "Google Cloud SDK" } function Get-ServiceFabricSDKVersion {