Executing Oracle SQLPlus in a Powershell Invoke-Command statement against a remote machine
- by Scott Muc
We have a basic powershell script that attempts to execute SQLPlus.exe on a remote machine. The remote does not have Oracle Instant client installed, but we have bundled all the necesary dlls in a remote folder. For example we have sqlplus.exe and dependencies in the directory C:\temp\oracle.
If I navigate to that path on the remote server and…