File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ stages:
281281
282282 Write-Warning 'This information is now public! Run the following Powershell Statement to change the password immediately!';
283283
284- $PwdChngCommand = "`$NewPwd = -join ((40..95+97..126) | Get-Random -Count 30 | % {[char]`$_}); Write-Output `"New Password: `$NewPwd`"; Invoke-Sqlcmd -Query `"ALTER LOGIN [$SQLUserName] WITH PASSWORD = '`$NewPwd';`" -ServerInstance `"$FQDNAndPort`" -Username `"$SQLUserName`" -Password `"$SQLPwd`" -TrustServerCertificate;";
284+ $PwdChngCommand = "`$NewPwd = -join ((40..95+97..126) | Get-Random -Count 40 | % {[char]`$_}); Write-Output `"New Password: `$NewPwd`"; Invoke-Sqlcmd -Query `"ALTER LOGIN [$SQLUserName] WITH PASSWORD = '`$NewPwd';`" -ServerInstance `"$FQDNAndPort`" -Username `"$SQLUserName`" -Password `"$SQLPwd`" -TrustServerCertificate;";
285285 Write-Host '- - - - - - - - - - - - - - - - - - - - - - - - - - - - - ' -ForegroundColor Yellow;
286286 Write-Host $PwdChngCommand
287287 Write-Host '==========================================================' -ForegroundColor Yellow;
@@ -435,9 +435,6 @@ stages:
435435 ${{ format('{0}', version.name) }} :
436436 SQLVersionEdition : ${{ version.SQLVersionEdition }}
437437
438- pool :
439- vmImage : ' windows-latest'
440-
441438 variables :
442439 databaseAccessDetails : $[convertToJson(stageDependencies.Create_Environments.Create.outputs)]
443440
You can’t perform that action at this time.
0 commit comments