Install-DbaMaintenanceSolution: Test for supported version#10398
Conversation
|
@claude please review this pull request. |
|
Claude finished @andreasjordan's task in 1m 20s —— View job PR Review: Install-DbaMaintenanceSolution — Test for Supported Version
SummaryThis PR adds a SQL Server version guard to Changes ReviewedTwo distinct additions: 1. 2. Version check in the if ($server.Version.Major -lt 14) {
Stop-Function -Message "The Maintenance Solution is not supported on SQL Server version $($server.Version). Skipping $instance." -Target $instance -Continue
}Code Quality
Minor Observations
VerdictThis PR is correct and ready to merge. The fix is minimal, accurate, and follows the project's conventions. The version boundary (major The minor message wording suggestion above is optional — the current message is still clear and functional. |
|
beautiful review, thank you both 🙏🏼 |
Type of Change
Invoke-ManualPester)See issue for details.