a guest Nov 6th, 2018 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- & .DbUp.exe | Write-Host
- "DbUp Deployment Script starting." | Write-Host
- $pinfo.Username = $OctopusParameters['serviceCustomAccountName']
- $pinfo.Domain = "DOMAIN"
- $pinfo.Password = (ConvertTo-SecureString -String $OctopusParameters['serviceCustomAccountPassword'] -AsPlainText -Force)
- $pinfo.FileName = "C:DbUp.exe"
- $pinfo.RedirectStandardError = $true
- $pinfo.RedirectStandardOutput = $true
- $pinfo.UseShellExecute = $false
- $pinfo.Arguments = ""
- $p = New-Object System.Diagnostics.Process
- $p.StartInfo = $pinfo
- $p.StandardOutput.ReadToEnd() | Write-Host
- $p.StandardError.ReadToEnd() | Write-Host
- "DbUp Deployment Script finished." | Write-Host
- DbUp Deployment Script starting.
- DbUp Deployment Script finished.
RAW Paste Data