shragi
asked on
automate disk utilization report
Hi - I am using the below powershell script to automate my disk utilization report.
The powersheel seems to be working except that it is not writing properly to HTML page.
I mean no values are shown in html page.
I attached both the powershell script and also the report it generated.
Please let me know where did it go wrong.
Thanks,
CheckDiskSpace-post.txt
DiskSpaceRpt-26032015.html
The powersheel seems to be working except that it is not writing properly to HTML page.
I mean no values are shown in html page.
I attached both the powershell script and also the report it generated.
Please let me know where did it go wrong.
Thanks,
CheckDiskSpace-post.txt
DiskSpaceRpt-26032015.html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
With the script as-is, nothing will be added to the .HTML file unless the disk's freespace is below the threshold ($percentFree -lt $percentWarning) .