Powershell - free disk space - bgcolor result how change
<p>I have this script:</p>

<pre><code>Function Get-ComInfo {   
param(

Computers
$computers

)
$FreespaceWarning = 30; $orangeColor = "#FBB917"

#Here LOW Space thresold is lessthan 10% of the total size of the Volume
$PercentFree = @{Name="FreeSpace(GB)";Expression={"{0:N1}" -f($_.freespace /1GB)}} Get-WmiObject Win32_LogicalDisk -filter "DriveType=3" -computer $computers |
Select SystemName,DeviceID,VolumeName,$PercentFree,@{Name="Size(GB)";Expression={"{0:N1}" -f($.size/1gb)}},@{name="PercentFree(%)";Expression={int}}, @{Name="LOW SPACE";Expression={"{0:N1}" -f($.freespace / $_.size -lt .1)}}

}

Get-Content U:\Users\test\Desktop\servers.txt | ForEach-Object { Get-ComInfo -computers $_} | ConvertTo-HTML | Out-File U:\Users\test\Desktop\Drives.htm
</code></pre>

<p>I want a computer that has less than 5GB of free space too appear in red color in the HTML. Who can help me? Because, I dont have ideas. </p>