This commit is contained in:
Eqbal Zaffar 2017-06-15 19:42:49 -07:00
Родитель 83ad9092a7
Коммит 29941b5c4e
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -77,7 +77,7 @@ else
#Try to read password from stored file
if (Test-Path $passwordFile)
{
Write-Host -ForegroundColor 'DarkYellow' "Retrieving password from stored file."
Write-Host -ForegroundColor 'Yellow' "Retrieving password from stored file."
$secureTxtFromFile = Get-Content $passwordFile
$securePasswordObj = $secureTxtFromFile | ConvertTo-SecureString
#get back the original unencrypted password

Просмотреть файл

@ -54,7 +54,7 @@ if (!$createuser)
}
else
{
Write-Host -ForegroundColor DarkYellow "Either ExportedSqlPassword.txt must exist with encrypted database password or must provide password using dbpass parameter."
Write-Host -ForegroundColor Yellow "Either ExportedSqlPassword.txt must exist with encrypted database password or must provide password using dbpass parameter."
throw
}
}