- Go to the lib\netstandard2.1\ folder and get the precious Oracle.ManagedDataAccess.dll file, that’s all we need
- Now that you have the magic DLL, put it in the same folder as the script you’re going to write, and follow this example:
- $OracleDLLPath = ".\Oracle.ManagedDataAccess.dll"
- Add-Type -Path $OracleDLLPath
Niciun comentariu:
Trimiteți un comentariu