Scripting Question

How to install SDB file using powershell?

09/25/2019 778 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

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ