ODBC connection through DSC Tagged: ODBC This topic contains 3 replies, has 3 voices, and was last updated by Brian 2 months ago. Author Posts April 20, 2017 at 6:28 pm #69069 BrianParticipant I've got an application that I run an powershell command(add-odbcdsn) as part of its install. Does anyone know of a DSC resource that could assist me with running that command? April 20, 2017 at 7:26 pm #69090 Don JonesKeymaster Nope. You'd have to do something custom, either a Script resource or a full resource. But you have to write the full Test portion to determine if your command NEEDS to be run or not. April 20, 2017 at 8:10 pm #69094 David JonesParticipant ODBC entries are just registry entries under HKLM\Software\ODSB\ODBC.INI\ you could just use the registry resource April 20, 2017 at 11:46 pm #69120 BrianParticipant Thanks for the info Dave. I actually exported the .reg and use cRegFile Dsc resource to import it in. Author Posts You must be logged in to reply to this topic.