Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dbaTools not recognizes latest sql security updates released on 8-10-24 #9502

Closed
afzaalazizawan opened this issue Oct 11, 2024 · 2 comments
Closed
Labels
bugs life triage required New issue that has not been reviewed by maintainers

Comments

@afzaalazizawan
Copy link

Verified issue does not already exist?

I have searched and found no existing issue

What error did you receive?

VERBOSE: [14:34:53][Resolve-DbaBuild] Looking for KB 5046059
VERBOSE: [14:34:53][Resolve-DbaBuild] We have 0 builds in store for this Release
WARNING: [14:34:53][Resolve-DbaBuild] No info in store for this Release

Steps to Reproduce

# provide your command(s) executed pertaining to dbatools
# please include variable values (redacted or fake if needed) for reference

#.... other variables
$kb = 'KB5046059' # SQL2022 built 16.0.4150.1 CU15+GDR released on 8-10-24
Update-DbaInstance -ComputerName $server -KB $kb -Path $patchPath -Credential $cred -Verbose -Restart -Confirm:$false

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

ModuleType Version PreRelease Name ExportedCommands


Script 2.1.25 dbatools {Select-DbaObject, Set-DbatoolsConfig, Add-DbaAgDatabase, Add-DbaAgListener…}

Other details or mentions

I did try to add information for latest updates into
"C:\Program Files\PowerShell\Modules\dbatools\2.1.25\bin\dbatools-buildref-index.json"

but it still not recognizes, am I missing anything
Would appreciate for an advice how to manually update buildref for latest updates.

What PowerShell host was used when producing this error

VS Code (terminal)

PowerShell Host Version

Name Value


PSVersion 7.4.5
PSEdition Core
GitCommitId 7.4.5
OS Microsoft Windows 10.0.20348
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

SQL Server Edition and Build number

Microsoft SQL Server 2022 (RTM-CU14-GDR) (KB5042578) - 16.0.4140.3 (X64) Aug 13 2024 13:46:25 Copyright (C) 2022 Microsoft Corporation Developer Edition (64-bit) on Windows Server 2022 Datacenter 10.0 (Build 20348: ) (Hypervisor)

.NET Framework Version

.NET 8.0.8

PSChildName Version


Client 4.8.04161
Full 4.8.04161
Client 4.0.0.0

@afzaalazizawan afzaalazizawan added bugs life triage required New issue that has not been reviewed by maintainers labels Oct 11, 2024
@niphlod
Copy link
Contributor

niphlod commented Oct 11, 2024

there's a PR ready for it #9493 . Once it'll get merged, everything will work out of the box.

@niphlod niphlod closed this as completed Oct 11, 2024
@afzaalazizawan
Copy link
Author

afzaalazizawan commented Oct 12, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugs life triage required New issue that has not been reviewed by maintainers
Projects
None yet
Development

No branches or pull requests

2 participants