gallery.technet.microsoft.com/scriptcenter/Disk-Space-Report-Reports-98e64d65/view/Discussions
im using above ps1 file
and get this error:
Exception calling "Send" with "1" argument(s): "Therewas an errorsendingemail."
At C:\output\diskspacereport.ps1:203 char:13
+ $smtp.Send <<<< ($msg)
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodException
PS H:\>
what gone wrong there?
Helpdesk Supporter