Scripting DSN's
I know how to use the registry to create DSN's under HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI and have been doing it for years. We are jumping into 64 bit/Win 7 and converting a lot of old scripts to powershell. Does anyone know of a simpler way to do it in powershell than simpley adding the registry keyes?
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
Er...how much simpler can it be than adding registry data?
I'm still a bit green with PS but, AFAIK, there is no ODBC-specific stuff, except what's in .Net, which PS can access in a pretty straightforward way. Whether anyone could describe that as "easy" compared to registry access is open to debate.
I'm still a bit green with PS but, AFAIK, there is no ODBC-specific stuff, except what's in .Net, which PS can access in a pretty straightforward way. Whether anyone could describe that as "easy" compared to registry access is open to debate.
Posted by:
sbequette
14 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.