Working on this script and I’m trying to write Background Color Yellow to Cells Greater than 50%
I’m trying to write in this script at
Lines 724 thru 726 to set the Background color to Yellow of any cell that is greater than >50%
if ($ShowFreeLogDiskSpace)
{
$Output+=“Log Disk Free”
}
Olaf
2
For issues or questions about gallery scripts you should contact the author.
Ditto to what Olaf says…
Read up on what you are trying, a quick search using –
powershell excel conditional formatting
— give you this.
Conditional Formatting Text in Excel from PowerShell
https://blogs.technet.microsoft.com/tristank/2017/08/29/conditional-formatting-text-in-excel-from-powershell
PowerShell and Excel: Adding Some Formatting To Your Report