2020
2121 . PARAMETER SkipDownloadPrerequisites
2222 Skip downloading the prerequisite files to current directory:
23- - msoledbsql.msi (https://learn.microsoft.com/sql/connect/oledb/release-notes-for-oledb-driver-for-sql-server?branch=main&branchFallbackFrom=pr-en-us-5180&view=sql-server-ver16#1867 )
24- - msodbcsql.msi (https://learn.microsoft.com/sql/connect/odbc/windows/release-notes-odbc-sql-server-windows?branch=main&branchFallbackFrom=pr-en-us-5180& view=sql-server-ver16#17105)
23+ - msoledbsql.msi (https://learn.microsoft.com/sql/connect/oledb/release-notes-for-oledb-driver-for-sql-server#1874 )
24+ - msodbcsql.msi (https://learn.microsoft.com/sql/connect/odbc/windows/release-notes-odbc-sql-server-windows?view=sql-server-ver16#17105)
2525 - sqlncli.msi (https://www.microsoft.com/download/details.aspx?id=50402)
2626
2727 . PARAMETER SkipModifyRegistry
@@ -321,16 +321,16 @@ function Start-SCOMTLSEnforcement
321321 #>
322322 try
323323 {
324- # MSOLEDB 18.6.7
325- $releaseDownloadLink = ' https://go.microsoft.com/fwlink/?linkid=2242656 '
326- $filename = ' msoledbsql_18.6.7 '
327- Write-ScriptLog - Step Prerequisites - LogString " Downloading MSOLEDB 18.6.7 automatically from: '$releaseDownloadLink '" - ForegroundColor Cyan
324+ # MSOLEDB 18.7.4
325+ $releaseDownloadLink = ' https://go.microsoft.com/fwlink/?linkid=2278907 '
326+ $filename = ' msoledbsql_18.7.4 '
327+ Write-ScriptLog - Step Prerequisites - LogString " Downloading MSOLEDB 18.7.4 automatically from: '$releaseDownloadLink '" - ForegroundColor Cyan
328328 Start-BitsTransfer - Source $releaseDownloadLink - Destination " $DirectoryForPrerequisites \$filename .msi" - ErrorAction Stop
329- Out-File - FilePath " $DirectoryForPrerequisites \$filename -Released-October 10 2023 "
329+ Out-File - FilePath " $DirectoryForPrerequisites \$filename -Released-July 09 2024 "
330330 }
331331 catch
332332 {
333- Write-ScriptLog - Step Prerequisites - LogString " Unable to download MSOLEDB 18.6.7 automatically from: 'https://learn.microsoft.com/sql/connect/oledb/download-oledb-driver-for-sql-server'" - ForegroundColor Red - Status Error
333+ Write-ScriptLog - Step Prerequisites - LogString " Unable to download MSOLEDB 18.7.4 automatically from: 'https://learn.microsoft.com/sql/connect/oledb/download-oledb-driver-for-sql-server'" - ForegroundColor Red - Status Error
334334 }
335335
336336 # ODBC
@@ -354,7 +354,7 @@ function Start-SCOMTLSEnforcement
354354 }
355355 catch
356356 {
357- Write-ScriptLog - Step Prerequisites - LogString " Unable to download ODBC 17.10.5 automatically from: 'https://learn.microsoft.com/sql/connect/odbc/windows/release-notes-odbc-sql-server-windows?branch=main&branchFallbackFrom=pr-en-us-5180&view=sql-server-ver16#17105 '" - ForegroundColor Red - Status Error
357+ Write-ScriptLog - Step Prerequisites - LogString " Unable to download ODBC 17.10.5 automatically from: 'https://learn.microsoft.com/sql/connect/odbc/windows/release-notes-odbc-sql-server-windows'" - ForegroundColor Red - Status Error
358358 }
359359
360360 # SQL Server 2012 Native Client
0 commit comments