Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Managing ODBC entries #389

Open
LaurentLienhard opened this issue Jul 12, 2022 · 2 comments
Open

Managing ODBC entries #389

LaurentLienhard opened this issue Jul 12, 2022 · 2 comments
Labels
question The issue is a question.

Comments

@LaurentLienhard
Copy link

Hi there,

I need to create ODBC entries with Oracle driver.
I can't find any resources to do that right now.
Do you think it's something too special or that it could fall within the scope of this module?

@PlagueHO PlagueHO added the question The issue is a question. label Jul 12, 2022
@PlagueHO
Copy link
Member

Hi @LaurentLienhard , do you need to install the Oracle ODBC driver or set up a system (or user) ODBC connection? I'm assuming the latter, in which case you'd probably need to fall back to using the Script resource in PSDesiredStateConfiguration module. If Oracle provide a PowerShell module for doing this it shouldn't be too hard, but if they provide a command line tool for it, then it'll be more difficult, but possible. If there is no way of scripting it though then even the DSC script resource won't be able to help. So, hopefully there is a PowerShell module for configuring ODBC connections.

@LaurentLienhard
Copy link
Author

I am indeed in the second case.
Oracle is already installed on my server with the ODBC component.
I was thinking of using the Add-OdbcDSN command, I'm going to look at the script resource side and see if there is a powershell module.
But if not do you think making a composite resource to handle ODBC connections would be feasible or useful?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question The issue is a question.
Projects
None yet
Development

No branches or pull requests

2 participants