mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 12:48:18 +00:00
* Use cerificate subject to verify authenticode signature * Use function instead of script variables * Switch all places to using Get-MicrosoftPublisher * Remove SignatureThumbprint * Use common subject for the Edge driver
20 lines
706 B
PowerShell
20 lines
706 B
PowerShell
################################################################################
|
|
## File: Install-SQLPowerShellTools.ps1
|
|
## Desc: Install SQL PowerShell tool
|
|
################################################################################
|
|
|
|
$baseUrl = "https://download.microsoft.com/download/B/1/7/B1783FE9-717B-4F78-A39A-A2E27E3D679D/ENU/x64"
|
|
|
|
# install required MSIs
|
|
Install-Binary `
|
|
-Url "${baseUrl}/SQLSysClrTypes.msi" `
|
|
-ExpectedSubject $(Get-MicrosoftPublisher)
|
|
|
|
Install-Binary `
|
|
-Url "${baseUrl}/SharedManagementObjects.msi" `
|
|
-ExpectedSubject $(Get-MicrosoftPublisher)
|
|
|
|
Install-Binary `
|
|
-Url "${baseUrl}/PowerShellTools.msi" `
|
|
-ExpectedSubject $(Get-MicrosoftPublisher)
|