Help us understand the problem. What is going on with this article?

PowerShell でインストール済みの ODBC / OLE DB Deiversを取得

More than 3 years have passed since last update.

OLE DB

(New-Object System.Data.OleDb.OleDbEnumerator).GetElements()

ODBC Driver

Get-OdbcDriver

Script

CheckDrivers.ps1
# output location
$scriptPath = Split-Path $MyInvocation.MyCommand.Path

# OLE DB
(New-Object System.Data.OleDb.OleDbEnumerator).GetElements() | Export-Csv -Path (Join-Path $scriptPath "OLE-DBs.csv")

# ODBC Driver
Get-OdbcDriver | Export-Clixml (Join-Path $scriptPath "ODBC-Drivers.xml")

# for check results
#Read-Host -Prompt "Hit enter key for 'owari'!"

SharePoint_X
I am a SharePoint Developer, Biker and Skater.
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away