- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nice script!
Does the script save the report locally only temporarily or is it kept after mail has been sent?
Can I define where to save the report and charts? The only user defined variables I see are VC, SMTP Server and To Address.
I get this error for the charts, eventhough I put the script in D:\scripts\
Exception calling "SaveImage" with "2" argument(s): "Access to the path 'D:\vCe
nter_CPU_Usage.png' is denied."
At D:\Script\CapacityReport.ps1:648 char:18
+ $Chart.SaveImage <<<< ($FullPath,"png")
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodException
-- Oskar