Link to home
Start Free TrialLog in
Avatar of shragi
shragiFlag for India

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
ASKER CERTIFIED SOLUTION
Avatar of Benjamin MOREAU
Benjamin MOREAU
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of footech
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) .