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:
281
281
282
282
Write-Warning 'This information is now public! Run the following Powershell Statement to change the password immediately!';
283
283
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;";
285
285
Write-Host '- - - - - - - - - - - - - - - - - - - - - - - - - - - - - ' -ForegroundColor Yellow;
286
286
Write-Host $PwdChngCommand
287
287
Write-Host '==========================================================' -ForegroundColor Yellow;
@@ -435,9 +435,6 @@ stages:
435
435
${{ format('{0}', version.name) }} :
436
436
SQLVersionEdition : ${{ version.SQLVersionEdition }}
437
437
438
- pool :
439
- vmImage : ' windows-latest'
440
-
441
438
variables :
442
439
databaseAccessDetails : $[convertToJson(stageDependencies.Create_Environments.Create.outputs)]
443
440
You can’t perform that action at this time.
0 commit comments