Skip to content

Commit

Permalink
undid #235 for the time being
Browse files Browse the repository at this point in the history
  • Loading branch information
VladDBA committed Jun 13, 2024
1 parent fd88b82 commit 49bd87a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PSBlitz.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2927,7 +2927,7 @@ $JumpToTop

if (($MajorVers -ge 13) -and (!([string]::IsNullOrEmpty($CheckDB)))) {
$htmlTable2 = $DBConfigTbl | Select-Object "Database", "Config Name", "Value", "IsDefault" | ConvertTo-Html -As Table -Fragment
$htmlTable2 = $htmlTable2 -replace '<td>No</td>', '<td bgcolor="yellow">No</td>'
#$htmlTable2 = $htmlTable2 -replace '<td>No</td>', '<td bgcolor="yellow">No</td>'
$htmlTable2 = $htmlTable2 -replace '<table>','<table class="sortable">'
$htmlBlock = "`n<br>`n <h2>Database Scoped Configuration for $CheckDB</h2>"
$htmlBlock += '<p><a href="https://learn.microsoft.com/en-us/sql/t-sql/statements/alter-database-scoped-configuration-transact-sql?view=sql-server-ver16" target="_blank">More Info</a></p>'
Expand All @@ -2950,7 +2950,7 @@ $htmlTable
$JumpToTop
<br>
<h2>Database Files Info</h2>
$SearchDiv -replace 'ReplaceSearchFunction','SearchDBFileInfo' -replace 'object', 'database' -replace 'id="SearchBox"', 'id="SearchBox1"'
$($SearchDiv -replace 'ReplaceSearchFunction','SearchDBFileInfo' -replace 'object', 'database' -replace 'id="SearchBox"', 'id="SearchBox1"')
$SortableTable
$htmlTable1
$JumpToTop
Expand Down

0 comments on commit 49bd87a

Please sign in to comment.