Remote register regsvr32 using powershell

144 Views Asked by At

I'm trying to register(regsvr32) a library(OraOLEDB10.dll) on a remote computer running Windows 10 using PowerShell.

Invoke-Command -ComputerName $computer_name -ScriptBlock {regsvr32 /s c:\oracle\product\10.2.0\client_1\BIN\OraOLEDB10.dll}

After execution, the command does not return anything, but the library is not registered either. The library files are present on the remote computer.

0

There are 0 best solutions below