I was using start-process cmdlet in powershell as
Start-Process -FilePath "$Installer_Path" -Args '/s /v"/qb SETUPTYPE=\"$Setup_type\" USERNAME=$user_name PASSWORD=$password SERVER=$sql_server INSTALLDIR=\"$Transfer_Path\\\" SHAREPATH=\"$Transfer_Path\\\""' –Wait
In the above command the variable are not getting replaced except $Installer_Path. I believe issue is because of variables located inside ' " " '. Could any one help me with the variable substitution?
Thanks.