Sounds like the basis for a new MBS article to me.
Carl Webster Consultant and Citrix Technology Professional http://www.CarlWebster.com<http://www.carlwebster.com/> From: Michael Smith <[email protected]<mailto:[email protected]>> Reply-To: Admin Issues <[email protected]<mailto:[email protected]>> Date: Mon, 30 Jan 2012 16:14:47 +0000 To: Admin Issues <[email protected]<mailto:[email protected]>> Subject: RE: New-MailboxExportRequest issues Oh, you are gonna hate this one. That’s not valid. You have to do it like this: Get-MessageTrackingLog -Server ICEXCH-H1 -Sender "[email protected]<mailto:[email protected]>" -Start [DateTime]::Parse( "15/01/2012" ) It’s a System.DateTime parameter, not a string parameter. What’s happening is you are getting caught up in the short-cut string transformation. Regards, Michael B. Smith Consultant and Exchange MVP http://TheEssentialExchange.com From: Sobey, Richard A [mailto:[email protected]] Sent: Monday, January 30, 2012 10:58 AM To: MS-Exchange Admin Issues Subject: RE: New-MailboxExportRequest issues E.G: [PS] C:\scripts\Ps>Get-MessageTrackingLog -Server ICEXCH-H1 -Sender "[email protected]<mailto:[email protected]>" -Start "15/01/2012" Cannot process argument transformation on parameter 'Start'. Cannot convert value "15/01/2012" to type "System.DateTime ". Error: "String was not recognized as a valid DateTime." + CategoryInfo : InvalidData: (:) [Get-MessageTrackingLog], ParameterBindin...mationException + FullyQualifiedErrorId : ParameterArgumentTransformationError,Get-MessageTrackingLog [PS] C:\scripts\Ps>Get-MessageTrackingLog -Server ICEXCH-H1 -Sender "[email protected]<mailto:[email protected]>" -Start "01/15/2012" EventId Source Sender Recipients MessageSubject ------- ------ ------ ---------- -------------- RECEIVE STORE... [email protected]<mailto:[email protected]> {[email protected]<mailto:%[email protected]>... RE: Outlook 2007 Sp2 Exchange ... TRANSFER ROUTING [email protected]<mailto:[email protected]> {[email protected]<mailto:%[email protected]>... RE: Outlook 2007 Sp2 Exchange ... SEND SMTP [email protected]<mailto:[email protected]> {[email protected]<mailto:%[email protected]>... RE: Outlook 2007 Sp2 Exchange ... --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected] with the body: unsubscribe exchangelist
