Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Disk-Space-Report-Reports | Error at line 203 char 13

$
0
0

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


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>