change message color
This commit is contained in:
Родитель
83ad9092a7
Коммит
29941b5c4e
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче