dataplat / dbatools

🚀 SQL Server automation and instance migrations have never been safer, faster or freer
https://dbatools.io
MIT License
2.47k stars 803 forks source link

Update-DbaMaintenanceSolution and Install-DbaMaintenanceSolution referencing wrong branch name #9548

Open macfergusson opened 3 days ago

macfergusson commented 3 days ago

Verified issue does not already exist?

I have searched and found no existing issue

What error did you receive?

The archive does not contain the desired directory sql-server-maintenance-solution-master but sql-server-maintenance-solution-main

Steps to Reproduce

Install-DbaMaintenanceSolution -SqlInstance localhost -LogToTable -EnableException

Update-DbaMaintenanceSolution -SqlInstance localhost -EnableException

Please confirm that you are running the most recent version of dbatools

2.1.27

Other details or mentions

No response

What PowerShell host was used when producing this error

Windows PowerShell (powershell.exe)

PowerShell Host Version

Name Value


PSVersion 5.1.20348.2760
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.20348.2760
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

SQL Server Edition and Build number

Microsoft SQL Server 2019 (RTM-CU28-GDR) (KB5046060) - 15.0.4395.2 (X64) Sep 24 2024 07:38:17 Copyright (C) 2019 Microsoft Corporation Enterprise Edition: Core-based Licensing (64-bit) on Windows Server 2022 Standard 10.0 (Build 20348: ) (Hypervisor)

.NET Framework Version

.NET Framework 4.8.4762.0

macfergusson commented 3 days ago

I believe Ola Hallengren has updated the branch names at the referenced repository.