Horje
use odbc from powershell Code Example
use odbc from powershell
$conn = new-object System.Data.Odbc.OdbcConnection
$conn.connectionstring = "DSN=DSNNAME" # Find "DSNNAME" (i.e. connection name) in ODBC Data Source Admin > User DSN
$sqlCommand="SELECT VERSION();"
$conn.open()

$cmd = New-object System.Data.Odbc.OdbcCommand($sqlCommand,$conn)
$dataset = New-Object System.Data.DataSet
(New-Object System.Data.Odbc.OdbcDataAdapter($cmd)).Fill($dataSet)
$conn.Close()

$dataSet
$dataSet.Tables




Shell

Related
linux dir one line Code Example linux dir one line Code Example
linux how to give permission to folder forever Code Example linux how to give permission to folder forever Code Example
exited with error code 65. Code Example exited with error code 65. Code Example
how to do sum with exper in linux Code Example how to do sum with exper in linux Code Example
how to deallocate a port Code Example how to deallocate a port Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
13