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


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


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.
Answered 10/19/2010 by: VBScab
Red Belt

Please log in to comment
It is being drilled into my head that Powershell can make life so much better. Was just poking around to see if powershell made this easier also.
Answered 10/20/2010 by: sbequette
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity