Skip to content

Commit

Permalink
Update Citrix-PVS77-Farm-Health-toHTML.ps1
Browse files Browse the repository at this point in the history
Fix for WriteCache High background not red on Error #21
  • Loading branch information
sacha81 committed Feb 26, 2018
1 parent 7f6d08f commit e811344
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Citrix-PVS77-Farm-Health-toHTML.ps1
@@ -1,5 +1,5 @@
#==============================================================================================
# Created on: 12/2015 Version: 1.3.1
# Created on: 12/2015 Version: 1.3.2
# Created by: Sacha Thomet, blog.appcloud.ch / sachathomet.ch
# Filename: Citrix-PVS77-Farm-Health-toHTML.ps1
#
Expand Down Expand Up @@ -35,6 +35,8 @@
# - Replaced generate the date in the second place by variable
# V1.3.1:
# - Fix for Cache to Ram which is in yellow even then all is ok
# V1.3.2:
# - Fix for WriteCache High background not red on Error #21
#
#==============================================================================================

Expand Down Expand Up @@ -727,7 +729,7 @@ $tests = @{}
else
{
"WriteCache on HD file size is high with $CacheDiskGB" | LogMe -display -error
$tests.WriteCache = "ERORR", $CacheDiskGB
$tests.WriteCache = "ERROR", $CacheDiskGB
}
}

Expand Down Expand Up @@ -782,7 +784,7 @@ $tests = @{}
{
"WriteCache on RAM size is high with $CacheDiskGB" | LogMe -display -error
$HDDerror = $true
$tests.WriteCache = "ERORR", $CacheDiskGB
$tests.WriteCache = "ERROR", $CacheDiskGB
}
}

Expand All @@ -801,7 +803,7 @@ $tests = @{}
if ($HDDwarning)
{$tests.WriteCache = "WARNING", "$CacheDiskGB, $RamCache MB on Ram"}
elseif ($HDDerror)
{$tests.WriteCache = "ERORR", "$CacheDiskGB, $RamCache MB on Ram"}
{$tests.WriteCache = "ERROR", "$CacheDiskGB, $RamCache MB on Ram"}
else
{$tests.WriteCache = "SUCCESS", "$CacheDiskGB, $RamCache MB on Ram"}

Expand Down

0 comments on commit e811344

Please sign in to comment.