09/25/2019 238 views

I know how to install sdb file using cmd prompt which

sdbinst.exe  "path of the .sdb"

But I want to know how to install same one using powerShell?

thanks in advance

0 Comments   [ + ] Show comments


Community Chosen Answer

Answered 09/25/2019 by: SMal.tmcc
Red Belt

All Answers


In general, use Start-Process. You'll need PS 3.0 + for $PSScriptRoot support. but any modern version of PS will have that.

Start-Process (Join-Path $PSScriptRoot myFile.exe) -ArgumentList "/myArgs"
Answered 09/28/2019 by: isudothings
Senior Purple Belt