File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 switch ($input )
2525 {
2626 ' 1' {
27- $args = [string ]::Format(' -NoExit -NoProfile -ExecutionPolicy Bypass -File "" {0}\existingDB.ps1"" ' , $PSScriptRoot )
28- Start-Process PowerShell.exe - ArgumentList $args - WorkingDirectory $PSScriptRoot - Verb runAs
27+ $args = [string ]::Format(' -NoExit -NoProfile -ExecutionPolicy Bypass -File "{0}\existingDB.ps1"' , $PSScriptRoot )
28+ Start-Process PowerShell.exe - ArgumentList $args - WorkingDirectory $PSScriptRoot - Verb runAs
2929
3030 return
3131 }
3232 ' 2' {
33- $args = [string ]::Format(' -NoExit -NoProfile -ExecutionPolicy Bypass -File "" {0}\localDB.ps1" "' , $PSScriptRoot )
33+ $args = [string ]::Format(' -NoExit -NoProfile -ExecutionPolicy Bypass -File "{0}\localDB.ps1"' , $PSScriptRoot )
3434 Start-Process PowerShell.exe - ArgumentList $args - WorkingDirectory $PSScriptRoot - Verb runAs
3535
3636 return
You can’t perform that action at this time.
0 commit comments