Quantcast
Channel: Exchange Server 2010 forum
Viewing all articles
Browse latest Browse all 8820

Modification a Script for Top 10 Senders

$
0
0

Sorry Guys, but i got the following error:

Cannot convert value "20/03/2013" to type "System.DateTime". Error: "String was not recognized as a valid DateTime."
At C:\Users\cagutpen.admin.net\Desktop\Exchange2010EmailStats.ps1:9 char:36
+ $outfile_date = ([datetime]$rundate <<<< ).tostring("yyyy_MM_dd")
    + CategoryInfo          : NotSpecified: (:) [], RuntimeException
    + FullyQualifiedErrorId : RuntimeException

I run then the Get-Date and i got the next:

[PS] C:\Users\cagutpen.admin.net\Desktop>Get-Date

jueves, 21 de marzo de 2013 02:36:37 p.m.

What I need to change on the script to work for me???

Thanks for any advice


Viewing all articles
Browse latest Browse all 8820

Trending Articles



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