From 266e4910c6c6a2fe1b20a1bdb5cec4e16f190f01 Mon Sep 17 00:00:00 2001
From: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
Date: Tue, 29 Nov 2022 16:56:37 -0800
Subject: [PATCH] [vcpkg] Lower the version of PowerShell to v7.2.7 (#28058)
---
scripts/azure-pipelines/windows/deploy-pwsh.ps1 | 2 +-
scripts/vcpkgTools.xml | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/scripts/azure-pipelines/windows/deploy-pwsh.ps1 b/scripts/azure-pipelines/windows/deploy-pwsh.ps1
index 89781a97f1..42aa3d93ab 100644
--- a/scripts/azure-pipelines/windows/deploy-pwsh.ps1
+++ b/scripts/azure-pipelines/windows/deploy-pwsh.ps1
@@ -5,5 +5,5 @@
# REPLACE WITH UTILITY-PREFIX.ps1
-$PwshUrl = 'https://github.com/PowerShell/PowerShell/releases/download/v7.3.0/PowerShell-7.3.0-win-x64.msi'
+$PwshUrl = 'https://github.com/PowerShell/PowerShell/releases/download/v7.2.7/PowerShell-7.2.7-win-x64.msi'
InstallMSI -Url $PwshUrl -Name 'PowerShell Core'
diff --git a/scripts/vcpkgTools.xml b/scripts/vcpkgTools.xml
index 5c3f4c798f..294361400c 100644
--- a/scripts/vcpkgTools.xml
+++ b/scripts/vcpkgTools.xml
@@ -194,11 +194,11 @@
ninja-freebsd-1.8.2.zip
- 7.3.0
+ 7.2.7
pwsh.exe
- https://github.com/PowerShell/PowerShell/releases/download/v7.3.0/PowerShell-7.3.0-win-x86.zip
- da01f53bc8e3f11b99ad936c5925074ea379ff6aec9e9e4f6040e406de5fa08cd266f619913ce16aa7883b2c6a1e0e2bbf2c3521c0ec4feba2531ca2cc61f363
- PowerShell-7.3.0-win-x86.zip
+ https://github.com/PowerShell/PowerShell/releases/download/v7.2.7/PowerShell-7.2.7-win-x86.zip
+ e17b307b66d17d4ece4d2f93080e6111265070b2ee6b77ffe3224973a470c59a14b1b17fab7445b18d370ac1720045188a9a011f0c9c8538ac56eca7673f184a
+ PowerShell-7.2.7-win-x86.zip
16.15.1