Solved

exchange 2010 message stats

Posted on 2015-02-17
2
144 Views
Last Modified: 2015-02-28
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
Comment
Question by:cmatchett
2 Comments
 

Author Comment

by:cmatchett
ID: 40615474
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
 
LVL 53

Accepted Solution

by:
Will Szymkowski earned 500 total points
ID: 40615732
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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to install and use the NTBackup utility that comes with Windows Server.
The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question