คำสั่งสำหรับติดตั้ง Microsoft OLE DB Driver 18 for SQL Server โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id Microsoft.SQLServer.OLEDBDriver.18 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.SQLServer.OLEDBDriver.18 -e --silentwinget uninstall --id Microsoft.SQLServer.OLEDBDriver.18 -e --silentแยกตามตัวติดตั้ง
64 บิต · MSI · ผู้ใช้ทุกคน · cs-CZ
ติดตั้งแบบเงียบ
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YESบันทึกไฟล์ log
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES /l*v "%TEMP%\microsoft-ole-db-driver-18-for-sql-server-install.log"ถอนการติดตั้ง
msiexec /x {8459752C-814E-4169-8BEE-D150467713C1} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {8459752C-814E-4169-8BEE-D150467713C1}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8459752C-814E-4169-8BEE-D150467713C1}
- UpgradeCode
- {DEBB0805-202C-471D-A182-675FF32F65C2}
64 บิต · MSI · ผู้ใช้ทุกคน · de-DE
ติดตั้งแบบเงียบ
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YESบันทึกไฟล์ log
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES /l*v "%TEMP%\microsoft-ole-db-driver-18-for-sql-server-install.log"ถอนการติดตั้ง
msiexec /x {2EF535A1-41C0-453A-A080-27C28938CA9A} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {2EF535A1-41C0-453A-A080-27C28938CA9A}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2EF535A1-41C0-453A-A080-27C28938CA9A}
- UpgradeCode
- {DEBB0805-202C-471D-A182-675FF32F65C2}
64 บิต · MSI · ผู้ใช้ทุกคน · en-US
ติดตั้งแบบเงียบ
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YESบันทึกไฟล์ log
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES /l*v "%TEMP%\microsoft-ole-db-driver-18-for-sql-server-install.log"ถอนการติดตั้ง
msiexec /x {66519CE2-A06A-41DB-975B-479064C89029} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {66519CE2-A06A-41DB-975B-479064C89029}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{66519CE2-A06A-41DB-975B-479064C89029}
- UpgradeCode
- {DEBB0805-202C-471D-A182-675FF32F65C2}
64 บิต · MSI · ผู้ใช้ทุกคน · es-ES
ติดตั้งแบบเงียบ
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YESบันทึกไฟล์ log
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES /l*v "%TEMP%\microsoft-ole-db-driver-18-for-sql-server-install.log"ถอนการติดตั้ง
msiexec /x {2A040622-049C-4638-BFC6-EF6FDFC3E3F7} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {2A040622-049C-4638-BFC6-EF6FDFC3E3F7}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2A040622-049C-4638-BFC6-EF6FDFC3E3F7}
- UpgradeCode
- {DEBB0805-202C-471D-A182-675FF32F65C2}
64 บิต · MSI · ผู้ใช้ทุกคน · fr-FR
ติดตั้งแบบเงียบ
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YESบันทึกไฟล์ log
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES /l*v "%TEMP%\microsoft-ole-db-driver-18-for-sql-server-install.log"ถอนการติดตั้ง
msiexec /x {A784E24D-48F0-425F-BF23-1B8B10D0DE7F} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {A784E24D-48F0-425F-BF23-1B8B10D0DE7F}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A784E24D-48F0-425F-BF23-1B8B10D0DE7F}
- UpgradeCode
- {DEBB0805-202C-471D-A182-675FF32F65C2}
64 บิต · MSI · ผู้ใช้ทุกคน · it-IT
ติดตั้งแบบเงียบ
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YESบันทึกไฟล์ log
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES /l*v "%TEMP%\microsoft-ole-db-driver-18-for-sql-server-install.log"ถอนการติดตั้ง
msiexec /x {2036FBE9-F940-4004-8FE1-241818498C09} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {2036FBE9-F940-4004-8FE1-241818498C09}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2036FBE9-F940-4004-8FE1-241818498C09}
- UpgradeCode
- {DEBB0805-202C-471D-A182-675FF32F65C2}
64 บิต · MSI · ผู้ใช้ทุกคน · ja-JP
ติดตั้งแบบเงียบ
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YESบันทึกไฟล์ log
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES /l*v "%TEMP%\microsoft-ole-db-driver-18-for-sql-server-install.log"ถอนการติดตั้ง
msiexec /x {DB8DA9D3-4061-4A66-850E-A2E3CECBC96C} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {DB8DA9D3-4061-4A66-850E-A2E3CECBC96C}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DB8DA9D3-4061-4A66-850E-A2E3CECBC96C}
- UpgradeCode
- {DEBB0805-202C-471D-A182-675FF32F65C2}
64 บิต · MSI · ผู้ใช้ทุกคน · ko-KR
ติดตั้งแบบเงียบ
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YESบันทึกไฟล์ log
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES /l*v "%TEMP%\microsoft-ole-db-driver-18-for-sql-server-install.log"ถอนการติดตั้ง
msiexec /x {B948AC06-88FA-404D-9AD5-051B3C396692} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {B948AC06-88FA-404D-9AD5-051B3C396692}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B948AC06-88FA-404D-9AD5-051B3C396692}
- UpgradeCode
- {DEBB0805-202C-471D-A182-675FF32F65C2}
64 บิต · MSI · ผู้ใช้ทุกคน · pl-PL
ติดตั้งแบบเงียบ
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YESบันทึกไฟล์ log
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES /l*v "%TEMP%\microsoft-ole-db-driver-18-for-sql-server-install.log"ถอนการติดตั้ง
msiexec /x {429EF2EE-DBDF-4CF2-9C79-BA63AE3058D4} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {429EF2EE-DBDF-4CF2-9C79-BA63AE3058D4}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{429EF2EE-DBDF-4CF2-9C79-BA63AE3058D4}
- UpgradeCode
- {DEBB0805-202C-471D-A182-675FF32F65C2}
64 บิต · MSI · ผู้ใช้ทุกคน · pt-BR
ติดตั้งแบบเงียบ
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YESบันทึกไฟล์ log
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES /l*v "%TEMP%\microsoft-ole-db-driver-18-for-sql-server-install.log"ถอนการติดตั้ง
msiexec /x {758A69C4-6D5B-46FE-BB6F-E3915ADD2A28} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {758A69C4-6D5B-46FE-BB6F-E3915ADD2A28}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{758A69C4-6D5B-46FE-BB6F-E3915ADD2A28}
- UpgradeCode
- {DEBB0805-202C-471D-A182-675FF32F65C2}
64 บิต · MSI · ผู้ใช้ทุกคน · ru-RU
ติดตั้งแบบเงียบ
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YESบันทึกไฟล์ log
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES /l*v "%TEMP%\microsoft-ole-db-driver-18-for-sql-server-install.log"ถอนการติดตั้ง
msiexec /x {589F6231-E518-4B33-A78B-282DD69A79EE} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {589F6231-E518-4B33-A78B-282DD69A79EE}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{589F6231-E518-4B33-A78B-282DD69A79EE}
- UpgradeCode
- {DEBB0805-202C-471D-A182-675FF32F65C2}
64 บิต · MSI · ผู้ใช้ทุกคน · tr-TR
ติดตั้งแบบเงียบ
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YESบันทึกไฟล์ log
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES /l*v "%TEMP%\microsoft-ole-db-driver-18-for-sql-server-install.log"ถอนการติดตั้ง
msiexec /x {C03A1C55-9C8F-4D61-9A99-460C4E2C1A41} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {C03A1C55-9C8F-4D61-9A99-460C4E2C1A41}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C03A1C55-9C8F-4D61-9A99-460C4E2C1A41}
- UpgradeCode
- {DEBB0805-202C-471D-A182-675FF32F65C2}
64 บิต · MSI · ผู้ใช้ทุกคน · zh-CN
ติดตั้งแบบเงียบ
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YESบันทึกไฟล์ log
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES /l*v "%TEMP%\microsoft-ole-db-driver-18-for-sql-server-install.log"ถอนการติดตั้ง
msiexec /x {A1DC326A-AC45-497E-8CD8-7D86E0D98607} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {A1DC326A-AC45-497E-8CD8-7D86E0D98607}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A1DC326A-AC45-497E-8CD8-7D86E0D98607}
- UpgradeCode
- {DEBB0805-202C-471D-A182-675FF32F65C2}
64 บิต · MSI · ผู้ใช้ทุกคน · zh-TW
ติดตั้งแบบเงียบ
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YESบันทึกไฟล์ log
msiexec /i msoledbsql.msi /qn /norestart /quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES /l*v "%TEMP%\microsoft-ole-db-driver-18-for-sql-server-install.log"ถอนการติดตั้ง
msiexec /x {CB2E485C-6139-44D7-A98B-5EA16676F036} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {CB2E485C-6139-44D7-A98B-5EA16676F036}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{CB2E485C-6139-44D7-A98B-5EA16676F036}
- UpgradeCode
- {DEBB0805-202C-471D-A182-675FF32F65C2}
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-microsoft-ole-db-driver-18-for-sql-server.ps1
$url = 'https://download.microsoft.com/download/c0e95861-cd5d-4ab8-a8a8-9d42a25e742d/amd64/1029/msoledbsql.msi'
$sha256 = '6A810EAD2AAC88C120DF9FE6B837997AA3CF1CAA15E206F7650E9405406D4016'
$file = Join-Path $env:TEMP 'msoledbsql.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart', '/quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES' -Wait install-microsoft-ole-db-driver-18-for-sql-server.ps1
$url = 'https://download.microsoft.com/download/39a0ce78-03bc-4935-b0cf-72c64e98a5ed/amd64/1031/msoledbsql.msi'
$sha256 = '321F5FA8CA544E975F35094D97A13768D51A214320A5DB05CA36C8957637B8FF'
$file = Join-Path $env:TEMP 'msoledbsql.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart', '/quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES' -Wait install-microsoft-ole-db-driver-18-for-sql-server.ps1
$url = 'https://download.microsoft.com/download/1bf0a51f-dd1e-4cd6-98fb-22f5ea9ce0b2/amd64/1033/msoledbsql.msi'
$sha256 = 'A7B51B2907D8DE4C16E6F11069148A8127A24B8BEA7529A697CAB7817DAE13AE'
$file = Join-Path $env:TEMP 'msoledbsql.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart', '/quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES' -Wait install-microsoft-ole-db-driver-18-for-sql-server.ps1
$url = 'https://download.microsoft.com/download/af15031b-2348-4e85-8c12-39146956fa0d/amd64/3082/msoledbsql.msi'
$sha256 = 'EA5E4548C6DDE949C5E1A71B9E13281C6F99377DF48A1A6E6ABF754F680444A7'
$file = Join-Path $env:TEMP 'msoledbsql.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart', '/quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES' -Wait install-microsoft-ole-db-driver-18-for-sql-server.ps1
$url = 'https://download.microsoft.com/download/e3f96dc2-fe87-4a73-a460-e205310efc1c/amd64/1036/msoledbsql.msi'
$sha256 = 'FA6E0085909B48BA7F38761C58FD1026E07BB019C65DE8730B53CE6E001E1ACC'
$file = Join-Path $env:TEMP 'msoledbsql.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart', '/quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES' -Wait install-microsoft-ole-db-driver-18-for-sql-server.ps1
$url = 'https://download.microsoft.com/download/cf0f794e-126a-48e7-88a6-577eda75ad85/amd64/1040/msoledbsql.msi'
$sha256 = '615428610D5BDD22EE8E831256FBC5FF29E537F70A6D8C7FBFB5245877AA3ECB'
$file = Join-Path $env:TEMP 'msoledbsql.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart', '/quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES' -Wait install-microsoft-ole-db-driver-18-for-sql-server.ps1
$url = 'https://download.microsoft.com/download/0798cfd2-6a0e-48c6-9100-14602c4358d6/amd64/1041/msoledbsql.msi'
$sha256 = '595CA295A2AE1C5005075473364626A69F6011D27BFF26EF4A73712D695BD4C0'
$file = Join-Path $env:TEMP 'msoledbsql.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart', '/quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES' -Wait install-microsoft-ole-db-driver-18-for-sql-server.ps1
$url = 'https://download.microsoft.com/download/45739b31-519e-4edb-b602-565fa3e76917/amd64/1042/msoledbsql.msi'
$sha256 = 'C29B3672B0007AAB42F4010E0786AF9C9B7F8EBDB0CDE91D3705B7EA747E7A06'
$file = Join-Path $env:TEMP 'msoledbsql.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart', '/quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES' -Wait install-microsoft-ole-db-driver-18-for-sql-server.ps1
$url = 'https://download.microsoft.com/download/6fa3f205-a6da-437c-95cc-d041c5c30b72/amd64/1045/msoledbsql.msi'
$sha256 = 'A1E338A6A471D2E9C00BA4D71B0A22A33B0186F37654A860E021BA737A34D0E7'
$file = Join-Path $env:TEMP 'msoledbsql.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart', '/quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES' -Wait install-microsoft-ole-db-driver-18-for-sql-server.ps1
$url = 'https://download.microsoft.com/download/8ed1dfe9-c4e5-48d6-b997-54c87ecd5e14/amd64/1046/msoledbsql.msi'
$sha256 = '1BD5D655AA483234257E03CBED9389CCCCA1862981ABF9D4FBD2101C33498C54'
$file = Join-Path $env:TEMP 'msoledbsql.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart', '/quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES' -Wait install-microsoft-ole-db-driver-18-for-sql-server.ps1
$url = 'https://download.microsoft.com/download/9d99bd25-65a6-4c28-9740-67415566ab14/amd64/1049/msoledbsql.msi'
$sha256 = 'BF5D229990B3DADAE522499AD93E540AE27A34D54F71546AEBF506B5FEB654E1'
$file = Join-Path $env:TEMP 'msoledbsql.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart', '/quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES' -Wait install-microsoft-ole-db-driver-18-for-sql-server.ps1
$url = 'https://download.microsoft.com/download/a3b5f583-cd7d-409e-9252-6dc5b13df06e/amd64/1055/msoledbsql.msi'
$sha256 = '0F9CB0597D9573935602F864B698EC9A4AE3039ED9B73CF260A5A442430CAA77'
$file = Join-Path $env:TEMP 'msoledbsql.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart', '/quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES' -Wait install-microsoft-ole-db-driver-18-for-sql-server.ps1
$url = 'https://download.microsoft.com/download/ff8bf739-854e-42a4-b61f-4d97ee843609/amd64/2052/msoledbsql.msi'
$sha256 = '4C1DEB6B23C953627E4B88341381E4CA0EFFAA3F9914650B7D0D80A39C9B67D5'
$file = Join-Path $env:TEMP 'msoledbsql.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart', '/quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES' -Wait install-microsoft-ole-db-driver-18-for-sql-server.ps1
$url = 'https://download.microsoft.com/download/9286784c-fce8-44cf-9aae-b139868047ff/amd64/1028/msoledbsql.msi'
$sha256 = 'FEC79F01A58270E75F24123EFBD249AEE0D49EC02B1A3FA960F71FE6EA662B8B'
$file = Join-Path $env:TEMP 'msoledbsql.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart', '/quiet /norestart IACCEPTMSOLEDBSQLLICENSETERMS=YES' -Wait