• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 212
  • Last Modified:

exchange 2010 message stats

Hi,

I am trying to run the script from this link and i am getting date issues

http://blogs.technet.com/b/neiljohn/archive/2011/08/09/user-profile-analysis-for-exchange-server-2010.aspx

Cannot process argument transformation on parameter 'Start'. Cannot convert value "16/02/2015"
". Error: "String was not recognized as a valid DateTime."
    + CategoryInfo          : InvalidData: (:) [Get-MessageTrackingLog], ParameterBindin...mati
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Get-MessageTrackingLog
0
cmatchett
Asked:
cmatchett
1 Solution
 
cmatchettAuthor Commented:
to be clearer, the server i am running this script on is en-GB and i take it that the date on the script is en-US....

Cannot process argument transformation on parameter 'Start'. Cannot convert value "16/02/2015" to type "System.DateTime
". Error: "String was not recognized as a valid DateTime."
    + CategoryInfo          : InvalidData: (:) [Get-MessageTrackingLog], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Get-MessageTrackingLog
0
 
Will SzymkowskiSenior Solution ArchitectCommented:
I did not look at this script in detail, but based on this cmdlet you and the error message present you can't add just date you also need to specify time as well. See example below...

 "02/16/2015 12:00AM"

Will.
0

Featured Post

Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now