In the "Control Panel" I opened the "ODBC" and there I found:
"SQL Anywhere 11, 11.00.01.2472, iAnywhere Solutions, Inc.., DBODBC11.DLL"
When I change provider in the script (from "ASAProv.90" to "DBODBC11"):
$ conn = New-Object System.Data.OleDb.OleDbConnection ("Provider = DBODBC11; Data Source = SymantecEndpointSecurityDSN; User Id = DBA; Password = XXX");
$ ds = New-Object "System.Data.DataSet" "SEMData"
$ query = "SELECT * FROM computer_name SEM_client;"
$ to = New-Object System.Data.OleDb.OleDbDataAdapter ($ query, $ conn);
$ conn.Open ();
I get the following error:
"Exception calling" Open "with" 0 "argument (s):" The 'DBODBC11' provider is not registered on the local machine. "
In any case, thank you.
Does anyone have an idea where I could find provider name for the embedded database used in SEP v12?