locked
Write Background Color to Cells Less than 50% free log disk space RRS feed

  • Question


  • I'm trying modify this particular PS script written by Steve Goodman so that each HTML cell that is found and shows a value that is less than 50% Free Log Disk Space, the background color would be set to yellow

    https://gallery.technet.microsoft.com/office/Generate-Exchange-2388e7c9

    Lines 724 thru 726

        if ($ShowFreeLogDiskSpace) 
        { 
            $Output+="<th>Log Disk Free</th>" 
        }  

    or Lines 774 thru 776

    if ($ShowFreeLogDiskSpace)
    {
    $Output+="<td align=""center"">$("{0:N1}" -f $Database.FreeLogDiskSpace)%</td>"


    Thursday, March 7, 2019 1:26 AM

All replies

  • For issues or questions about gallery scripts you should contact the author.

    Live long and prosper!

    (79,108,97,102|%{[char]$_})-join''

    Thursday, March 7, 2019 1:42 AM