RE: New-MailboxExportRequest issues

2012-01-31 Thread Michael B. Smith
FINALLY! :)

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Sobey, Richard A [mailto:r.so...@imperial.ac.uk]
Sent: Tuesday, January 31, 2012 9:01 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

The second one works a treat, thank you for your assistance :)

From: 
bounce-9481770-8066...@lyris.sunbelt-software.com<mailto:bounce-9481770-8066...@lyris.sunbelt-software.com>
 
[mailto:bounce-9481770-8066...@lyris.sunbelt-software.com]<mailto:[mailto:bounce-9481770-8066...@lyris.sunbelt-software.com]>
 On Behalf Of Michael B. Smith
Sent: 31 January 2012 13:23
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Then this:

Get-MessageTrackingLog -Server ICEXCH-H1 -Sender 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -Start 
[System.DateTime]::Parse("15/01/2012")

If that fails, then this:

Get-MessageTrackingLog -Server ICEXCH-H1 -Sender 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -Start ( 
[System.DateTime]::Parse("15/01/2012") )

Thanks.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist

RE: New-MailboxExportRequest issues

2012-01-31 Thread Sobey, Richard A
The second one works a treat, thank you for your assistance :)

From: bounce-9481770-8066...@lyris.sunbelt-software.com 
[mailto:bounce-9481770-8066...@lyris.sunbelt-software.com] On Behalf Of Michael 
B. Smith
Sent: 31 January 2012 13:23
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Then this:

Get-MessageTrackingLog -Server ICEXCH-H1 -Sender 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -Start 
[System.DateTime]::Parse("15/01/2012")

If that fails, then this:

Get-MessageTrackingLog -Server ICEXCH-H1 -Sender 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -Start ( 
[System.DateTime]::Parse("15/01/2012") )

Thanks.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist

RE: New-MailboxExportRequest issues

2012-01-31 Thread Sobey, Richard A
Sorry for the late reply. Both those commands work with no errors.

[PS] C:\scripts\Ps>[System.DateTime]::Parse("15/01/2012")

15 January 2012 00:00:00

[PS] C:\scripts\Ps>$culture = new-object System.Globalization.CultureInfo( 
"en-GB" )
[PS] C:\scripts\Ps>[System.DateTime]::Parse("15/01/2012", $culture)

15 January 2012 00:00:00


From: bounce-9481409-8066...@lyris.sunbelt-software.com 
[mailto:bounce-9481409-8066...@lyris.sunbelt-software.com] On Behalf Of Michael 
B. Smith
Sent: 30 January 2012 16:49
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

That surprises me. Forget the cmdlet for a minute and do the below straight 
from the cmdline:

Does this fail?

[System.DateTime]::Parse("15/01/2012")

And then, does this fail?

$culture = new-object System.Globalization.CultureInfo( "en-GB" 
)
[System.DateTime]::Parse("15/01/2012", $culture)

Thanks.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Sobey, Richard A 
[mailto:r.so...@imperial.ac.uk]<mailto:[mailto:r.so...@imperial.ac.uk]>
Sent: Monday, January 30, 2012 11:30 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Not quite, but what you are saying makes sense.

Get-MessageTrackingLog -Server ICEXCH-H1 -Sender 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -Start 
[DateTime]::Parse( "15/01/2012" )
Cannot process argument transformation on parameter 'Start'. Cannot convert 
value "[DateTime]::Parse" to type "System.D
ateTime". Error: "String was not recognized as a valid DateTime."
+ CategoryInfo  : InvalidData: (:) [Get-MessageTrackingLog], 
ParameterBindin...mationException
+ FullyQualifiedErrorId : 
ParameterArgumentTransformationError,Get-MessageTrackingLog

From: 
bounce-9481397-8066...@lyris.sunbelt-software.com<mailto:bounce-9481397-8066...@lyris.sunbelt-software.com>
 
[mailto:bounce-9481397-8066...@lyris.sunbelt-software.com]<mailto:[mailto:bounce-9481397-8066...@lyris.sunbelt-software.com]>
 On Behalf Of Michael B. Smith
Sent: 30 January 2012 16:15
To: MS-Exchange Admin Issues
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 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -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:r.so...@imperial.ac.uk]<mailto:[mailto:r.so...@imperial.ac.uk]>
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 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -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 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -Start "01/15/2012"

EventId  Source   SenderRecipients  
  MessageSubject
---  --   ----  
  --
RECEIVE  STORE... r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk> 
   {exchangelist@lyris.sunbelt-so<mailto:%7bexchangelist@lyris.sunbelt-so>... 
RE: Outlook 2007 Sp2 Exchange ...
TRANSFER ROUTING  r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk> 
   {exchangelist@lyris.sunbelt-so<mailto:%7bexchangelist@lyris.sunbelt-so>... 
RE: Outlook 2007 Sp2 Exchange ...
SEND SMTP r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk> 
   {exchangelist@lyris.sunbelt-so<mailto:%7bexchangelist@lyris.sunbelt-so>... 
RE: Outlook 2007 Sp2 Exchange ...

From: 
bounce-9481383-8066...@lyris.sunbelt-software.com<mailto:bounce-9481383-8066...@lyris.sunbelt-software.com>
 
[mailto:bounce-9481383-8066...@lyris.sunbelt-software.com]<mailto:[mailto:bounce-9481383-8066...@lyris.sunbelt-software.com]>
 On Behalf Of Michael B. Smith
Sent: 30 January 2012 15:

RE: New-MailboxExportRequest issues

2012-01-30 Thread Joseph L. Casale
Ugh,
New-MailboxExportRequest -Mailbox User -ContentFilter {(Sent -lt "2012-01-15") 
-and (Received -lt "2012-01-15")} -FilePath "\\server\path\test.pst"

Gets accepted into the queue, but when you view the queue it has failed after 
writing the 265KB pst...

What do you figure?
Thanks!
jlc


From: Michael B. Smith [mich...@smithcons.com]
Sent: Monday, January 30, 2012 11:40 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Why does en-CA work on the first ::Parse() and en-GB fail? Weird.

No, use -mm-dd.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist

RE: New-MailboxExportRequest issues

2012-01-30 Thread Michael B. Smith
Why does en-CA work on the first ::Parse() and en-GB fail? Weird.

No, use -mm-dd.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Joseph L. Casale [mailto:jcas...@activenetwerx.com]
Sent: Monday, January 30, 2012 12:57 PM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Sorry for getting back late:

[PS] C:\>(get-culture) |fl

Parent : en
LCID   : 4105
KeyboardLayoutId   : 4105
Name   : en-CA
IetfLanguageTag: en-CA
DisplayName: English (Canada)
NativeName : English (Canada)
EnglishName: English (Canada)
TwoLetterISOLanguageName   : en
ThreeLetterISOLanguageName : eng
ThreeLetterWindowsLanguageName : ENC
CompareInfo: CompareInfo - 4105
TextInfo   : TextInfo - 4105
IsNeutralCulture   : False
CultureTypes   : SpecificCultures, InstalledWin32Cultures, 
FrameworkCultures
NumberFormat   : System.Globalization.NumberFormatInfo
DateTimeFormat : System.Globalization.DateTimeFormatInfo
Calendar   : System.Globalization.GregorianCalendar
OptionalCalendars  : {System.Globalization.GregorianCalendar, 
System.Globalization.GregorianCalendar}
UseUserOverride: True
IsReadOnly : False



[PS] C:\>(get-culture).DateTimeFormat

AMDesignator : AM
Calendar : System.Globalization.GregorianCalendar
DateSeparator: /
FirstDayOfWeek   : Sunday
CalendarWeekRule : FirstDay
FullDateTimePattern  : -dd-yy h:mm:ss tt
LongDatePattern  : -dd-yy
LongTimePattern  : h:mm:ss tt
MonthDayPattern  :  dd
PMDesignator : PM
RFC1123Pattern   : ddd, dd MMM  HH':'mm':'ss 'GMT'
ShortDatePattern : dd/MM/
ShortTimePattern : h:mm tt
SortableDateTimePattern  : '-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator: :
UniversalSortableDateTimePattern : '-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern : , 
AbbreviatedDayNames  : {Sun, Mon, Tue, Wed, Thu, Fri, Sat}
ShortestDayNames : {Su, Mo, Tu, We, Th, Fr, Sa}
DayNames : {Sunday, Monday, Tuesday, Wednesday, 
Thursday, Friday, Saturday}
AbbreviatedMonthNames: {Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, 
Sep, Oct, Nov, Dec, }
MonthNames   : {January, February, March, April, May, June, 
July, August, September, October, Novem
   ber, December, }
IsReadOnly   : False
NativeCalendarName   : Gregorian Calendar
AbbreviatedMonthGenitiveNames: {Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, 
Sep, Oct, Nov, Dec, }
MonthGenitiveNames   : {January, February, March, April, May, June, 
July, August, September, October, Novem
   ber, December, }



[PS] C:\>[System.DateTime]::Parse("15/01/2012")

January-15-12 12:00:00 AM

[PS] C:\>$culture = new-object System.Globalization.CultureInfo( "en-ca" )
[PS] C:\>[System.DateTime]::Parse("15/01/2012", $culture)

January-15-12 12:00:00 AM



So the safest least ambiguous way is to write a date as follows "January-15-12 
12:00:00 AM"?
This seem to be accepted fine by Search-Mailbox, but not 
New-MailboxExportRequest, it accepted the input but the job failed.

Search-Mailbox -Identity User -SearchQuery "Received:< $('January-15-12 
12:00:00 AM') and Sent:< $('January
-15-12 12:00:00 AM')" -SearchDumpster -EstimateResultOnly


New-MailboxExportRequest -Mailbox User -ContentFilter {(Sent -lt "January-15-12 
12:00:00 AM") -and (Receive
d -lt "January-15-12 12:00:00 AM")} -FilePath 
"\\server\share\test.pst"

Fails...


Thanks for help!
jlc

From: Michael B. Smith [mich...@smithcons.com]
Sent: Monday, January 30, 2012 7:24 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues
Can you run these for me? (Any PowerShell window, doesn't have to be EMS.)

(get-culture) | fl
(get-culture).DateTimeFormat

Thanks.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist

RE: New-MailboxExportRequest issues

2012-01-30 Thread Joseph L. Casale
Sorry for getting back late:

[PS] C:\>(get-culture) |fl

Parent : en
LCID   : 4105
KeyboardLayoutId   : 4105
Name   : en-CA
IetfLanguageTag: en-CA
DisplayName: English (Canada)
NativeName : English (Canada)
EnglishName: English (Canada)
TwoLetterISOLanguageName   : en
ThreeLetterISOLanguageName : eng
ThreeLetterWindowsLanguageName : ENC
CompareInfo: CompareInfo - 4105
TextInfo   : TextInfo - 4105
IsNeutralCulture   : False
CultureTypes   : SpecificCultures, InstalledWin32Cultures, 
FrameworkCultures
NumberFormat   : System.Globalization.NumberFormatInfo
DateTimeFormat : System.Globalization.DateTimeFormatInfo
Calendar   : System.Globalization.GregorianCalendar
OptionalCalendars  : {System.Globalization.GregorianCalendar, 
System.Globalization.GregorianCalendar}
UseUserOverride: True
IsReadOnly : False



[PS] C:\>(get-culture).DateTimeFormat

AMDesignator : AM
Calendar : System.Globalization.GregorianCalendar
DateSeparator: /
FirstDayOfWeek   : Sunday
CalendarWeekRule : FirstDay
FullDateTimePattern  : -dd-yy h:mm:ss tt
LongDatePattern  : -dd-yy
LongTimePattern  : h:mm:ss tt
MonthDayPattern  :  dd
PMDesignator : PM
RFC1123Pattern   : ddd, dd MMM  HH':'mm':'ss 'GMT'
ShortDatePattern : dd/MM/
ShortTimePattern : h:mm tt
SortableDateTimePattern  : '-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator: :
UniversalSortableDateTimePattern : '-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern : , 
AbbreviatedDayNames  : {Sun, Mon, Tue, Wed, Thu, Fri, Sat}
ShortestDayNames : {Su, Mo, Tu, We, Th, Fr, Sa}
DayNames : {Sunday, Monday, Tuesday, Wednesday, 
Thursday, Friday, Saturday}
AbbreviatedMonthNames: {Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, 
Sep, Oct, Nov, Dec, }
MonthNames   : {January, February, March, April, May, June, 
July, August, September, October, Novem
   ber, December, }
IsReadOnly   : False
NativeCalendarName   : Gregorian Calendar
AbbreviatedMonthGenitiveNames: {Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, 
Sep, Oct, Nov, Dec, }
MonthGenitiveNames   : {January, February, March, April, May, June, 
July, August, September, October, Novem
   ber, December, }



[PS] C:\>[System.DateTime]::Parse("15/01/2012")

January-15-12 12:00:00 AM

[PS] C:\>$culture = new-object System.Globalization.CultureInfo( "en-ca" )
[PS] C:\>[System.DateTime]::Parse("15/01/2012", $culture)

January-15-12 12:00:00 AM



So the safest least ambiguous way is to write a date as follows "January-15-12 
12:00:00 AM"?
This seem to be accepted fine by Search-Mailbox, but not 
New-MailboxExportRequest, it accepted the input but the job failed.

Search-Mailbox -Identity User -SearchQuery "Received:< $('January-15-12 
12:00:00 AM') and Sent:< $('January
-15-12 12:00:00 AM')" -SearchDumpster -EstimateResultOnly


New-MailboxExportRequest -Mailbox User -ContentFilter {(Sent -lt "January-15-12 
12:00:00 AM") -and (Receive
d -lt "January-15-12 12:00:00 AM")} -FilePath "\\server\share\test.pst"

Fails...


Thanks for help!
jlc

From: Michael B. Smith [mich...@smithcons.com]
Sent: Monday, January 30, 2012 7:24 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Can you run these for me? (Any PowerShell window, doesn’t have to be EMS.)

(get-culture) | fl
(get-culture).DateTimeFormat

Thanks.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist

RE: New-MailboxExportRequest issues

2012-01-30 Thread Michael B. Smith
Search accepts that format too. :-)

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com


-Original Message-
From: Steve Kradel [mailto:skra...@zetetic.net] 
Sent: Monday, January 30, 2012 11:32 AM
To: MS-Exchange Admin Issues
Subject: Re: New-MailboxExportRequest issues

I would expect the PoSH stuff to run DateTime.Parse or a similar
method on its input -- didn't mean to imply that SQL was relevant
here, or that "dd-MMM-" is SQL's most native-ish format (it is
not) -- merely a format that I find easy to type, read, and which is
well understood by most systems.

IMHO the most unambiguous system datetime format is the XML datetime,
e.g., "2012-01-30T16:28:52.6193034Z", which contains no whitespace,
and clearly shows the time part and timezone.

--Steve

On Mon, Jan 30, 2012 at 10:57 AM, Michael B. Smith
 wrote:
> I agree with your concept - but I think I disagree with your choice of format.
>
> Search isn't built on SQL and it has a limited range of date formats it 
> recognizes. I have notes that say the only "universal unambiguous format" is 
> "-mm-dd hh:mm:ss" (with "hh:mm:ss" being optional), but I don't have a 
> public reference for that.
>
> Regards,
>
> Michael B. Smith
> Consultant and Exchange MVP
> http://TheEssentialExchange.com
>
>
> -Original Message-
> From: Steve Kradel [mailto:skra...@zetetic.net]
> Sent: Monday, January 30, 2012 10:39 AM
> To: MS-Exchange Admin Issues
> Subject: Re: New-MailboxExportRequest issues
>
> I'd suggest going with a format that's unambiguous, and readily
> accepted by both .NET and SQL:  "dd-MMM-"; e.g., "30-JAN-2012".
> This is my date format of choice for systems and for communicating
> with an international audience.
>
> --Steve
>
> On Mon, Jan 30, 2012 at 10:18 AM, Sobey, Richard A
>  wrote:
>> Hah! Over here in Blighty I have to use "DD/MM/" for any date up to and
>> including the 12th of each month, and "MM/DD/" for the 13th and after.
>> Or, I can stick to "MM/DD/" throughout the entire command.
>>
>>
>>
>> Grrr.
>>
>>
>>
>> From: bounce-9481349-8066...@lyris.sunbelt-software.com
>> [mailto:bounce-9481349-8066...@lyris.sunbelt-software.com] On Behalf Of
>> Michael B. Smith
>> Sent: 30 January 2012 13:50
>>
>>
>> To: MS-Exchange Admin Issues
>> Subject: RE: New-MailboxExportRequest issues
>>
>>
>>
>> Did you write dd/mm/ ?? Really? Where are you?
>>
>>
>>
>> Single vs. double quotes shouldn't make any difference.
>>
>>
>>
>> Regards,
>>
>>
>>
>> Michael B. Smith
>>
>> Consultant and Exchange MVP
>>
>> http://TheEssentialExchange.com
>>
>>
>>
>> From: Joseph L. Casale [mailto:jcas...@activenetwerx.com]
>> Sent: Monday, January 30, 2012 8:41 AM
>> To: MS-Exchange Admin Issues
>> Subject: RE: New-MailboxExportRequest issues
>>
>>
>>
>> Right,
>> Unless I misunderstand it, Sent mail is mail you send whereas Received mail
>> is mail you received and I wanted both exported.
>>
>> No errors are thrown, it accepts it but the job reports failed when viewing
>> the queue. I wasnt sure looking at the output of certain cmds versus their
>> input as to which format the date should have been specified in, MM/DD or
>> DD/MM as a Search-Mailbox being entered in one format returned results
>> formatted in the other?
>>
>> The cmd that finally worked is DD/MM/ in double quotes. Looking at my
>> notes it was second format I tried, but somewhere along the attempts I
>> switched to double quotes instead of single, who knows...
>>
>> Thanks!
>> jlc
>>
>> 
>>
>> From: Sobey, Richard A [r.so...@imperial.ac.uk]
>> Sent: Monday, January 30, 2012 3:30 AM
>> To: MS-Exchange Admin Issues
>> Subject: RE: New-MailboxExportRequest issues
>>
>> Your Sent and Received are the same? You may also need to specify a MM:HH in
>> addition to MM:DD:.
>>
>>
>>
>> Can you send the output of the command when it fails?
>>
>>
>>
>> From: bounce-9480934-8066...@lyris.sunbelt-software.com
>> [mailto:bounce-9480934-8066...@lyris.sunbelt-software.com] On Behalf Of
>> Joseph L. Casale
>> Sent: 29 January 2012 04:10
>> To: MS-Exchange Admin Issues
>> Subject: New-MailboxExportRequest issues
>>
>>
>>
>> Trying to export out sent and

RE: New-MailboxExportRequest issues

2012-01-30 Thread Michael B. Smith
It's a tough article to write when you are using the "native" formats (en-US). 
:-P

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Webster [mailto:webs...@carlwebster.com]
Sent: Monday, January 30, 2012 11:32 AM
To: MS-Exchange Admin Issues
Subject: Re: New-MailboxExportRequest issues

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 mailto:mich...@smithcons.com>>
Reply-To: Admin Issues 
mailto:exchangelist@lyris.sunbelt-software.com>>
Date: Mon, 30 Jan 2012 16:14:47 +
To: Admin Issues 
mailto:exchangelist@lyris.sunbelt-software.com>>
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 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -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:r.so...@imperial.ac.uk]
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 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -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 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -Start "01/15/2012"

EventId  Source   SenderRecipients  
  MessageSubject
---  --   ----  
  --
RECEIVE  STORE... r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk> 
   {exchangelist@lyris.sunbelt-so<mailto:%7bexchangelist@lyris.sunbelt-so>... 
RE: Outlook 2007 Sp2 Exchange ...
TRANSFER ROUTING  r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk> 
   {exchangelist@lyris.sunbelt-so<mailto:%7bexchangelist@lyris.sunbelt-so>... 
RE: Outlook 2007 Sp2 Exchange ...
SEND SMTP r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk> 
   {exchangelist@lyris.sunbelt-so<mailto:%7bexchangelist@lyris.sunbelt-so>... 
RE: Outlook 2007 Sp2 Exchange ...


---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist

RE: New-MailboxExportRequest issues

2012-01-30 Thread Michael B. Smith
That surprises me. Forget the cmdlet for a minute and do the below straight 
from the cmdline:

Does this fail?

[System.DateTime]::Parse("15/01/2012")

And then, does this fail?

$culture = new-object System.Globalization.CultureInfo( "en-GB" 
)
[System.DateTime]::Parse("15/01/2012", $culture)

Thanks.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Sobey, Richard A [mailto:r.so...@imperial.ac.uk]
Sent: Monday, January 30, 2012 11:30 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Not quite, but what you are saying makes sense.

Get-MessageTrackingLog -Server ICEXCH-H1 -Sender 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -Start 
[DateTime]::Parse( "15/01/2012" )
Cannot process argument transformation on parameter 'Start'. Cannot convert 
value "[DateTime]::Parse" to type "System.D
ateTime". Error: "String was not recognized as a valid DateTime."
+ CategoryInfo  : InvalidData: (:) [Get-MessageTrackingLog], 
ParameterBindin...mationException
+ FullyQualifiedErrorId : 
ParameterArgumentTransformationError,Get-MessageTrackingLog

From: 
bounce-9481397-8066...@lyris.sunbelt-software.com<mailto:bounce-9481397-8066...@lyris.sunbelt-software.com>
 
[mailto:bounce-9481397-8066...@lyris.sunbelt-software.com]<mailto:[mailto:bounce-9481397-8066...@lyris.sunbelt-software.com]>
 On Behalf Of Michael B. Smith
Sent: 30 January 2012 16:15
To: MS-Exchange Admin Issues
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 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -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:r.so...@imperial.ac.uk]<mailto:[mailto:r.so...@imperial.ac.uk]>
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 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -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 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -Start "01/15/2012"

EventId  Source   SenderRecipients  
  MessageSubject
---  --   ----  
  --
RECEIVE  STORE... r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk> 
   {exchangelist@lyris.sunbelt-so<mailto:%7bexchangelist@lyris.sunbelt-so>... 
RE: Outlook 2007 Sp2 Exchange ...
TRANSFER ROUTING  r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk> 
   {exchangelist@lyris.sunbelt-so<mailto:%7bexchangelist@lyris.sunbelt-so>... 
RE: Outlook 2007 Sp2 Exchange ...
SEND SMTP r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk> 
   {exchangelist@lyris.sunbelt-so<mailto:%7bexchangelist@lyris.sunbelt-so>... 
RE: Outlook 2007 Sp2 Exchange ...

From: 
bounce-9481383-8066...@lyris.sunbelt-software.com<mailto:bounce-9481383-8066...@lyris.sunbelt-software.com>
 
[mailto:bounce-9481383-8066...@lyris.sunbelt-software.com]<mailto:[mailto:bounce-9481383-8066...@lyris.sunbelt-software.com]>
 On Behalf Of Michael B. Smith
Sent: 30 January 2012 15:33
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

I've never heard of that and it sounds like a bug. Granted I'm en-us all the 
way, so I don't see these types of problems.

Can you also run these for me? (Any PowerShell window, doesn't have to be EMS.)

(get-culture) | fl
(get-culture).DateTimeFormat

Thanks.

I need to figure out if PowerShell has the right values and it's an 
Exchange-only issue, or a combo issue.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Sobey, Richard A 
[mailto:r.so...@imperial.ac.uk]<mailto:[mailto:r.so...@im

Re: New-MailboxExportRequest issues

2012-01-30 Thread Steve Kradel
I would expect the PoSH stuff to run DateTime.Parse or a similar
method on its input -- didn't mean to imply that SQL was relevant
here, or that "dd-MMM-" is SQL's most native-ish format (it is
not) -- merely a format that I find easy to type, read, and which is
well understood by most systems.

IMHO the most unambiguous system datetime format is the XML datetime,
e.g., "2012-01-30T16:28:52.6193034Z", which contains no whitespace,
and clearly shows the time part and timezone.

--Steve

On Mon, Jan 30, 2012 at 10:57 AM, Michael B. Smith
 wrote:
> I agree with your concept - but I think I disagree with your choice of format.
>
> Search isn't built on SQL and it has a limited range of date formats it 
> recognizes. I have notes that say the only "universal unambiguous format" is 
> "-mm-dd hh:mm:ss" (with "hh:mm:ss" being optional), but I don't have a 
> public reference for that.
>
> Regards,
>
> Michael B. Smith
> Consultant and Exchange MVP
> http://TheEssentialExchange.com
>
>
> -Original Message-
> From: Steve Kradel [mailto:skra...@zetetic.net]
> Sent: Monday, January 30, 2012 10:39 AM
> To: MS-Exchange Admin Issues
> Subject: Re: New-MailboxExportRequest issues
>
> I'd suggest going with a format that's unambiguous, and readily
> accepted by both .NET and SQL:  "dd-MMM-"; e.g., "30-JAN-2012".
> This is my date format of choice for systems and for communicating
> with an international audience.
>
> --Steve
>
> On Mon, Jan 30, 2012 at 10:18 AM, Sobey, Richard A
>  wrote:
>> Hah! Over here in Blighty I have to use "DD/MM/" for any date up to and
>> including the 12th of each month, and "MM/DD/" for the 13th and after.
>> Or, I can stick to "MM/DD/" throughout the entire command.
>>
>>
>>
>> Grrr.
>>
>>
>>
>> From: bounce-9481349-8066...@lyris.sunbelt-software.com
>> [mailto:bounce-9481349-8066...@lyris.sunbelt-software.com] On Behalf Of
>> Michael B. Smith
>> Sent: 30 January 2012 13:50
>>
>>
>> To: MS-Exchange Admin Issues
>> Subject: RE: New-MailboxExportRequest issues
>>
>>
>>
>> Did you write dd/mm/ ?? Really? Where are you?
>>
>>
>>
>> Single vs. double quotes shouldn't make any difference.
>>
>>
>>
>> Regards,
>>
>>
>>
>> Michael B. Smith
>>
>> Consultant and Exchange MVP
>>
>> http://TheEssentialExchange.com
>>
>>
>>
>> From: Joseph L. Casale [mailto:jcas...@activenetwerx.com]
>> Sent: Monday, January 30, 2012 8:41 AM
>> To: MS-Exchange Admin Issues
>> Subject: RE: New-MailboxExportRequest issues
>>
>>
>>
>> Right,
>> Unless I misunderstand it, Sent mail is mail you send whereas Received mail
>> is mail you received and I wanted both exported.
>>
>> No errors are thrown, it accepts it but the job reports failed when viewing
>> the queue. I wasnt sure looking at the output of certain cmds versus their
>> input as to which format the date should have been specified in, MM/DD or
>> DD/MM as a Search-Mailbox being entered in one format returned results
>> formatted in the other?
>>
>> The cmd that finally worked is DD/MM/ in double quotes. Looking at my
>> notes it was second format I tried, but somewhere along the attempts I
>> switched to double quotes instead of single, who knows...
>>
>> Thanks!
>> jlc
>>
>> 
>>
>> From: Sobey, Richard A [r.so...@imperial.ac.uk]
>> Sent: Monday, January 30, 2012 3:30 AM
>> To: MS-Exchange Admin Issues
>> Subject: RE: New-MailboxExportRequest issues
>>
>> Your Sent and Received are the same? You may also need to specify a MM:HH in
>> addition to MM:DD:.
>>
>>
>>
>> Can you send the output of the command when it fails?
>>
>>
>>
>> From: bounce-9480934-8066...@lyris.sunbelt-software.com
>> [mailto:bounce-9480934-8066...@lyris.sunbelt-software.com] On Behalf Of
>> Joseph L. Casale
>> Sent: 29 January 2012 04:10
>> To: MS-Exchange Admin Issues
>> Subject: New-MailboxExportRequest issues
>>
>>
>>
>> Trying to export out sent and received items with a content filter of {(Sent
>> -lt '06/28/2011') -and (Received -lt '06/28/2011')}
>> This fails, whereas w/o the content filter, or with a simpler one it works.
>>
>> Anyone see the issue?
>>
>> Thanks,
>> jlc
>>
>> Ps. Sorry for the lame sub, lyris's fault
>>
>
> ---
> To manage subscriptions click here: 
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to listmana...@lyris.sunbeltsoftware.com
> with the body: unsubscribe exchangelist
>
>

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist



Re: New-MailboxExportRequest issues

2012-01-30 Thread Webster
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 mailto:mich...@smithcons.com>>
Reply-To: Admin Issues 
mailto:exchangelist@lyris.sunbelt-software.com>>
Date: Mon, 30 Jan 2012 16:14:47 +
To: Admin Issues 
mailto:exchangelist@lyris.sunbelt-software.com>>
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 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -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:r.so...@imperial.ac.uk]
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 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -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 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -Start "01/15/2012"

EventId  Source   SenderRecipients  
  MessageSubject
---  --   ----  
  --
RECEIVE  STORE... r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk> 
   {exchangelist@lyris.sunbelt-so<mailto:%7bexchangelist@lyris.sunbelt-so>... 
RE: Outlook 2007 Sp2 Exchange ...
TRANSFER ROUTING  r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk> 
   {exchangelist@lyris.sunbelt-so<mailto:%7bexchangelist@lyris.sunbelt-so>... 
RE: Outlook 2007 Sp2 Exchange ...
SEND SMTP r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk> 
   {exchangelist@lyris.sunbelt-so<mailto:%7bexchangelist@lyris.sunbelt-so>... 
RE: Outlook 2007 Sp2 Exchange ...


---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist

RE: New-MailboxExportRequest issues

2012-01-30 Thread Sobey, Richard A
Not quite, but what you are saying makes sense.

Get-MessageTrackingLog -Server ICEXCH-H1 -Sender "r.so...@imperial.ac.uk" 
-Start [DateTime]::Parse( "15/01/2012" )
Cannot process argument transformation on parameter 'Start'. Cannot convert 
value "[DateTime]::Parse" to type "System.D
ateTime". Error: "String was not recognized as a valid DateTime."
+ CategoryInfo  : InvalidData: (:) [Get-MessageTrackingLog], 
ParameterBindin...mationException
+ FullyQualifiedErrorId : 
ParameterArgumentTransformationError,Get-MessageTrackingLog

From: bounce-9481397-8066...@lyris.sunbelt-software.com 
[mailto:bounce-9481397-8066...@lyris.sunbelt-software.com] On Behalf Of Michael 
B. Smith
Sent: 30 January 2012 16:15
To: MS-Exchange Admin Issues
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 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -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:r.so...@imperial.ac.uk]<mailto:[mailto:r.so...@imperial.ac.uk]>
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 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -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 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -Start "01/15/2012"

EventId  Source   SenderRecipients  
  MessageSubject
---  --   ----  
  --
RECEIVE  STORE... r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk> 
   {exchangelist@lyris.sunbelt-so<mailto:%7bexchangelist@lyris.sunbelt-so>... 
RE: Outlook 2007 Sp2 Exchange ...
TRANSFER ROUTING  r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk> 
   {exchangelist@lyris.sunbelt-so<mailto:%7bexchangelist@lyris.sunbelt-so>... 
RE: Outlook 2007 Sp2 Exchange ...
SEND SMTP r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk> 
   {exchangelist@lyris.sunbelt-so<mailto:%7bexchangelist@lyris.sunbelt-so>... 
RE: Outlook 2007 Sp2 Exchange ...

From: 
bounce-9481383-8066...@lyris.sunbelt-software.com<mailto:bounce-9481383-8066...@lyris.sunbelt-software.com>
 
[mailto:bounce-9481383-8066...@lyris.sunbelt-software.com]<mailto:[mailto:bounce-9481383-8066...@lyris.sunbelt-software.com]>
 On Behalf Of Michael B. Smith
Sent: 30 January 2012 15:33
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

I've never heard of that and it sounds like a bug. Granted I'm en-us all the 
way, so I don't see these types of problems.

Can you also run these for me? (Any PowerShell window, doesn't have to be EMS.)

(get-culture) | fl
(get-culture).DateTimeFormat

Thanks.

I need to figure out if PowerShell has the right values and it's an 
Exchange-only issue, or a combo issue.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Sobey, Richard A 
[mailto:r.so...@imperial.ac.uk]<mailto:[mailto:r.so...@imperial.ac.uk]>
Sent: Monday, January 30, 2012 10:18 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Hah! Over here in Blighty I have to use "DD/MM/" for any date up to and 
including the 12th of each month, and "MM/DD/" for the 13th and after. Or, 
I can stick to "MM/DD/" throughout the entire command.

Grrr.

From: 
bounce-9481349-8066...@lyris.sunbelt-software.com<mailto:bounce-9481349-8066...@lyris.sunbelt-software.com>
 
[mailto:bounce-9481349-8066...@lyris.sunbelt-software.com]<mailto:[mailto:bounce-9481349-8066...@lyris.sunbelt-software.com]>
 On Behalf Of Michael B. Smith
Sent: 30 January 2012 13:50
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Did you write dd/mm/ ?? Really? Where are yo

RE: New-MailboxExportRequest issues

2012-01-30 Thread Michael B. Smith
Oh, you are gonna hate this one. That's not valid. You have to do it like this:

Get-MessageTrackingLog -Server ICEXCH-H1 -Sender 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -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:r.so...@imperial.ac.uk]
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 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -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 
"r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk>" -Start "01/15/2012"

EventId  Source   SenderRecipients  
  MessageSubject
---  --   ----  
  --
RECEIVE  STORE... r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk> 
   {exchangelist@lyris.sunbelt-so<mailto:%7bexchangelist@lyris.sunbelt-so>... 
RE: Outlook 2007 Sp2 Exchange ...
TRANSFER ROUTING  r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk> 
   {exchangelist@lyris.sunbelt-so<mailto:%7bexchangelist@lyris.sunbelt-so>... 
RE: Outlook 2007 Sp2 Exchange ...
SEND SMTP r.so...@imperial.ac.uk<mailto:r.so...@imperial.ac.uk> 
   {exchangelist@lyris.sunbelt-so<mailto:%7bexchangelist@lyris.sunbelt-so>... 
RE: Outlook 2007 Sp2 Exchange ...

From: 
bounce-9481383-8066...@lyris.sunbelt-software.com<mailto:bounce-9481383-8066...@lyris.sunbelt-software.com>
 
[mailto:bounce-9481383-8066...@lyris.sunbelt-software.com]<mailto:[mailto:bounce-9481383-8066...@lyris.sunbelt-software.com]>
 On Behalf Of Michael B. Smith
Sent: 30 January 2012 15:33
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

I've never heard of that and it sounds like a bug. Granted I'm en-us all the 
way, so I don't see these types of problems.

Can you also run these for me? (Any PowerShell window, doesn't have to be EMS.)

(get-culture) | fl
(get-culture).DateTimeFormat

Thanks.

I need to figure out if PowerShell has the right values and it's an 
Exchange-only issue, or a combo issue.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Sobey, Richard A 
[mailto:r.so...@imperial.ac.uk]<mailto:[mailto:r.so...@imperial.ac.uk]>
Sent: Monday, January 30, 2012 10:18 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Hah! Over here in Blighty I have to use "DD/MM/" for any date up to and 
including the 12th of each month, and "MM/DD/" for the 13th and after. Or, 
I can stick to "MM/DD/" throughout the entire command.

Grrr.

From: 
bounce-9481349-8066...@lyris.sunbelt-software.com<mailto:bounce-9481349-8066...@lyris.sunbelt-software.com>
 
[mailto:bounce-9481349-8066...@lyris.sunbelt-software.com]<mailto:[mailto:bounce-9481349-8066...@lyris.sunbelt-software.com]>
 On Behalf Of Michael B. Smith
Sent: 30 January 2012 13:50
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Did you write dd/mm/ ?? Really? Where are you?

Single vs. double quotes shouldn't make any difference.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Joseph L. Casale 
[mailto:jcas...@activenetwerx.com]<mailto:[mailto:jcas...@activenetwerx.com]>
Sent: Monday, January 30, 2012 8:41 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Right,
Unless I misunderstand it, Sent mail is mail you send whereas Received mail is 
mail you received and I wanted both exported.

No errors are thrown, it accepts it but the job reports failed when viewing the 
queue. I wasnt sure looking at the output of certain cmds versus their input as 
to which format the date should have been specified in, MM/DD or DD/MM as a 
Search-Mailbox being entered in one format returned results formatted in the 
other?

The cmd that finally worked is DD/MM/ in double quotes. Looking at my

RE: New-MailboxExportRequest issues

2012-01-30 Thread Michael B. Smith
Well, there ya go. It's System.Globalization.DateTimeFormatInfo, element 
UniversalSortableDateTimePattern.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com


-Original Message-
From: Michael B. Smith [mailto:mich...@smithcons.com] 
Sent: Monday, January 30, 2012 10:58 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

I agree with your concept - but I think I disagree with your choice of format.

Search isn't built on SQL and it has a limited range of date formats it 
recognizes. I have notes that say the only "universal unambiguous format" is 
"-mm-dd hh:mm:ss" (with "hh:mm:ss" being optional), but I don't have a 
public reference for that.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com


-Original Message-
From: Steve Kradel [mailto:skra...@zetetic.net] 
Sent: Monday, January 30, 2012 10:39 AM
To: MS-Exchange Admin Issues
Subject: Re: New-MailboxExportRequest issues

I'd suggest going with a format that's unambiguous, and readily
accepted by both .NET and SQL:  "dd-MMM-"; e.g., "30-JAN-2012".
This is my date format of choice for systems and for communicating
with an international audience.

--Steve

On Mon, Jan 30, 2012 at 10:18 AM, Sobey, Richard A
 wrote:
> Hah! Over here in Blighty I have to use "DD/MM/" for any date up to and
> including the 12th of each month, and "MM/DD/" for the 13th and after.
> Or, I can stick to "MM/DD/" throughout the entire command.
>
>
>
> Grrr.
>
>
>
> From: bounce-9481349-8066...@lyris.sunbelt-software.com
> [mailto:bounce-9481349-8066...@lyris.sunbelt-software.com] On Behalf Of
> Michael B. Smith
> Sent: 30 January 2012 13:50
>
>
> To: MS-Exchange Admin Issues
> Subject: RE: New-MailboxExportRequest issues
>
>
>
> Did you write dd/mm/ ?? Really? Where are you?
>
>
>
> Single vs. double quotes shouldn't make any difference.
>
>
>
> Regards,
>
>
>
> Michael B. Smith
>
> Consultant and Exchange MVP
>
> http://TheEssentialExchange.com
>
>
>
> From: Joseph L. Casale [mailto:jcas...@activenetwerx.com]
> Sent: Monday, January 30, 2012 8:41 AM
> To: MS-Exchange Admin Issues
> Subject: RE: New-MailboxExportRequest issues
>
>
>
> Right,
> Unless I misunderstand it, Sent mail is mail you send whereas Received mail
> is mail you received and I wanted both exported.
>
> No errors are thrown, it accepts it but the job reports failed when viewing
> the queue. I wasnt sure looking at the output of certain cmds versus their
> input as to which format the date should have been specified in, MM/DD or
> DD/MM as a Search-Mailbox being entered in one format returned results
> formatted in the other?
>
> The cmd that finally worked is DD/MM/ in double quotes. Looking at my
> notes it was second format I tried, but somewhere along the attempts I
> switched to double quotes instead of single, who knows...
>
> Thanks!
> jlc
>
> 
>
> From: Sobey, Richard A [r.so...@imperial.ac.uk]
> Sent: Monday, January 30, 2012 3:30 AM
> To: MS-Exchange Admin Issues
> Subject: RE: New-MailboxExportRequest issues
>
> Your Sent and Received are the same? You may also need to specify a MM:HH in
> addition to MM:DD:.
>
>
>
> Can you send the output of the command when it fails?
>
>
>
> From: bounce-9480934-8066...@lyris.sunbelt-software.com
> [mailto:bounce-9480934-8066...@lyris.sunbelt-software.com] On Behalf Of
> Joseph L. Casale
> Sent: 29 January 2012 04:10
> To: MS-Exchange Admin Issues
> Subject: New-MailboxExportRequest issues
>
>
>
> Trying to export out sent and received items with a content filter of {(Sent
> -lt '06/28/2011') -and (Received -lt '06/28/2011')}
> This fails, whereas w/o the content filter, or with a simpler one it works.
>
> Anyone see the issue?
>
> Thanks,
> jlc
>
> Ps. Sorry for the lame sub, lyris's fault
>

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist


---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist


---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist



RE: New-MailboxExportRequest issues

2012-01-30 Thread Michael B. Smith
OK. That looks right, so it seems to be an Exchange-only issue.

Can you try it with "-mm-dd hh:mm:ss" (with "hh:mm:ss" being optional) and 
see if that is a valid workaround?

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Sobey, Richard A [mailto:r.so...@imperial.ac.uk]
Sent: Monday, January 30, 2012 10:55 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

It's a strange one, and from some forum digging I'm not alone. Yes, definitely 
a bug. Output below:

[PS] C:\scripts\Ps>(Get-Culture) | fl


Parent : en
LCID   : 2057
KeyboardLayoutId   : 2057
Name   : en-GB
IetfLanguageTag: en-GB
DisplayName: English (United Kingdom)
NativeName : English (United Kingdom)
EnglishName: English (United Kingdom)
TwoLetterISOLanguageName   : en
ThreeLetterISOLanguageName : eng
ThreeLetterWindowsLanguageName : ENG
CompareInfo: CompareInfo - 2057
TextInfo   : TextInfo - 2057
IsNeutralCulture   : False
CultureTypes   : SpecificCultures, InstalledWin32Cultures, 
FrameworkCultures
NumberFormat   : System.Globalization.NumberFormatInfo
DateTimeFormat : System.Globalization.DateTimeFormatInfo
Calendar   : System.Globalization.GregorianCalendar
OptionalCalendars  : {System.Globalization.GregorianCalendar, 
System.Globalization.GregorianCalendar}
UseUserOverride: True
IsReadOnly : False



[PS] C:\scripts\Ps>(get-culture).DateTimeFormat


AMDesignator : AM
Calendar : System.Globalization.GregorianCalendar
DateSeparator: /
FirstDayOfWeek   : Monday
CalendarWeekRule : FirstDay
FullDateTimePattern  : dd   HH:mm:ss
LongDatePattern  : dd  
LongTimePattern  : HH:mm:ss
MonthDayPattern  : dd 
PMDesignator : PM
RFC1123Pattern   : ddd, dd MMM  HH':'mm':'ss 'GMT'
ShortDatePattern : dd/MM/
ShortTimePattern : HH:mm
SortableDateTimePattern  : '-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator: :
UniversalSortableDateTimePattern : '-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern :  
AbbreviatedDayNames  : {Sun, Mon, Tue, Wed, Thu, Fri, Sat}
ShortestDayNames : {Su, Mo, Tu, We, Th, Fr, Sa}
DayNames : {Sunday, Monday, Tuesday, Wednesday, 
Thursday, Friday, Saturday}
AbbreviatedMonthNames: {Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, 
Sep, Oct, Nov, Dec, }
MonthNames   : {January, February, March, April, May, June, 
July, August, September, October, Novem
   ber, December, }
IsReadOnly   : False
NativeCalendarName   : Gregorian Calendar
AbbreviatedMonthGenitiveNames: {Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, 
Sep, Oct, Nov, Dec, }
MonthGenitiveNames   : {January, February, March, April, May, June, 
July, August, September, October, Novem
   ber, December, }

From: 
bounce-9481383-8066...@lyris.sunbelt-software.com<mailto:bounce-9481383-8066...@lyris.sunbelt-software.com>
 
[mailto:bounce-9481383-8066...@lyris.sunbelt-software.com]<mailto:[mailto:bounce-9481383-8066...@lyris.sunbelt-software.com]>
 On Behalf Of Michael B. Smith
Sent: 30 January 2012 15:33
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

I've never heard of that and it sounds like a bug. Granted I'm en-us all the 
way, so I don't see these types of problems.

Can you also run these for me? (Any PowerShell window, doesn't have to be EMS.)

(get-culture) | fl
(get-culture).DateTimeFormat

Thanks.

I need to figure out if PowerShell has the right values and it's an 
Exchange-only issue, or a combo issue.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Sobey, Richard A 
[mailto:r.so...@imperial.ac.uk]<mailto:[mailto:r.so...@imperial.ac.uk]>
Sent: Monday, January 30, 2012 10:18 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Hah! Over here in Blighty I have to use "DD/MM/" for any date up to and 
including the 12th of each month, and "MM/DD/" for the 13th and after. Or, 
I can stick to "MM/DD/" throughout the entire comma

RE: New-MailboxExportRequest issues

2012-01-30 Thread Sobey, Richard A
E.G:

[PS] C:\scripts\Ps>Get-MessageTrackingLog -Server ICEXCH-H1 -Sender 
"r.so...@imperial.ac.uk" -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 
"r.so...@imperial.ac.uk" -Start "01/15/2012"

EventId  Source   SenderRecipients  
  MessageSubject
---  --   ----  
  --
RECEIVE  STORE... r.so...@imperial.ac.uk
{exchangelist@lyris.sunbelt-so... RE: Outlook 2007 Sp2 Exchange ...
TRANSFER ROUTING  r.so...@imperial.ac.uk
{exchangelist@lyris.sunbelt-so... RE: Outlook 2007 Sp2 Exchange ...
SEND SMTP r.so...@imperial.ac.uk
{exchangelist@lyris.sunbelt-so... RE: Outlook 2007 Sp2 Exchange ...

From: bounce-9481383-8066...@lyris.sunbelt-software.com 
[mailto:bounce-9481383-8066...@lyris.sunbelt-software.com] On Behalf Of Michael 
B. Smith
Sent: 30 January 2012 15:33
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

I've never heard of that and it sounds like a bug. Granted I'm en-us all the 
way, so I don't see these types of problems.

Can you also run these for me? (Any PowerShell window, doesn't have to be EMS.)

(get-culture) | fl
(get-culture).DateTimeFormat

Thanks.

I need to figure out if PowerShell has the right values and it's an 
Exchange-only issue, or a combo issue.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Sobey, Richard A [mailto:r.so...@imperial.ac.uk]
Sent: Monday, January 30, 2012 10:18 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Hah! Over here in Blighty I have to use "DD/MM/" for any date up to and 
including the 12th of each month, and "MM/DD/" for the 13th and after. Or, 
I can stick to "MM/DD/" throughout the entire command.

Grrr.

From: 
bounce-9481349-8066...@lyris.sunbelt-software.com<mailto:bounce-9481349-8066...@lyris.sunbelt-software.com>
 
[mailto:bounce-9481349-8066...@lyris.sunbelt-software.com]<mailto:[mailto:bounce-9481349-8066...@lyris.sunbelt-software.com]>
 On Behalf Of Michael B. Smith
Sent: 30 January 2012 13:50
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Did you write dd/mm/ ?? Really? Where are you?

Single vs. double quotes shouldn't make any difference.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Joseph L. Casale 
[mailto:jcas...@activenetwerx.com]<mailto:[mailto:jcas...@activenetwerx.com]>
Sent: Monday, January 30, 2012 8:41 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Right,
Unless I misunderstand it, Sent mail is mail you send whereas Received mail is 
mail you received and I wanted both exported.

No errors are thrown, it accepts it but the job reports failed when viewing the 
queue. I wasnt sure looking at the output of certain cmds versus their input as 
to which format the date should have been specified in, MM/DD or DD/MM as a 
Search-Mailbox being entered in one format returned results formatted in the 
other?

The cmd that finally worked is DD/MM/ in double quotes. Looking at my notes 
it was second format I tried, but somewhere along the attempts I switched to 
double quotes instead of single, who knows...

Thanks!
jlc
________
From: Sobey, Richard A [r.so...@imperial.ac.uk]
Sent: Monday, January 30, 2012 3:30 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues
Your Sent and Received are the same? You may also need to specify a MM:HH in 
addition to MM:DD:.

Can you send the output of the command when it fails?

From: 
bounce-9480934-8066...@lyris.sunbelt-software.com<mailto:bounce-9480934-8066...@lyris.sunbelt-software.com>
 
[mailto:bounce-9480934-8066...@lyris.sunbelt-software.com]<mailto:[mailto:bounce-9480934-8066...@lyris.sunbelt-software.com]>
 On Behalf Of Joseph L. Casale
Sent: 29 January 2012 04:10
To: MS-Exchange Admin Issues
Subject: New-MailboxExportRequest issues

Trying to export out sent and received items with a content filter of {(Sent 
-lt '06/28/2011') -and (Received -lt '06/28/2011')}
This fails, whereas w/o the content filter, or with a simpler one it works.

Anyone see the issue?

Thanks,
jlc

Ps. Sorry for the lame sub, lyris's fault

RE: New-MailboxExportRequest issues

2012-01-30 Thread Michael B. Smith
I agree with your concept - but I think I disagree with your choice of format.

Search isn't built on SQL and it has a limited range of date formats it 
recognizes. I have notes that say the only "universal unambiguous format" is 
"-mm-dd hh:mm:ss" (with "hh:mm:ss" being optional), but I don't have a 
public reference for that.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com


-Original Message-
From: Steve Kradel [mailto:skra...@zetetic.net] 
Sent: Monday, January 30, 2012 10:39 AM
To: MS-Exchange Admin Issues
Subject: Re: New-MailboxExportRequest issues

I'd suggest going with a format that's unambiguous, and readily
accepted by both .NET and SQL:  "dd-MMM-"; e.g., "30-JAN-2012".
This is my date format of choice for systems and for communicating
with an international audience.

--Steve

On Mon, Jan 30, 2012 at 10:18 AM, Sobey, Richard A
 wrote:
> Hah! Over here in Blighty I have to use "DD/MM/" for any date up to and
> including the 12th of each month, and "MM/DD/" for the 13th and after.
> Or, I can stick to "MM/DD/" throughout the entire command.
>
>
>
> Grrr.
>
>
>
> From: bounce-9481349-8066...@lyris.sunbelt-software.com
> [mailto:bounce-9481349-8066...@lyris.sunbelt-software.com] On Behalf Of
> Michael B. Smith
> Sent: 30 January 2012 13:50
>
>
> To: MS-Exchange Admin Issues
> Subject: RE: New-MailboxExportRequest issues
>
>
>
> Did you write dd/mm/ ?? Really? Where are you?
>
>
>
> Single vs. double quotes shouldn't make any difference.
>
>
>
> Regards,
>
>
>
> Michael B. Smith
>
> Consultant and Exchange MVP
>
> http://TheEssentialExchange.com
>
>
>
> From: Joseph L. Casale [mailto:jcas...@activenetwerx.com]
> Sent: Monday, January 30, 2012 8:41 AM
> To: MS-Exchange Admin Issues
> Subject: RE: New-MailboxExportRequest issues
>
>
>
> Right,
> Unless I misunderstand it, Sent mail is mail you send whereas Received mail
> is mail you received and I wanted both exported.
>
> No errors are thrown, it accepts it but the job reports failed when viewing
> the queue. I wasnt sure looking at the output of certain cmds versus their
> input as to which format the date should have been specified in, MM/DD or
> DD/MM as a Search-Mailbox being entered in one format returned results
> formatted in the other?
>
> The cmd that finally worked is DD/MM/ in double quotes. Looking at my
> notes it was second format I tried, but somewhere along the attempts I
> switched to double quotes instead of single, who knows...
>
> Thanks!
> jlc
>
> 
>
> From: Sobey, Richard A [r.so...@imperial.ac.uk]
> Sent: Monday, January 30, 2012 3:30 AM
> To: MS-Exchange Admin Issues
> Subject: RE: New-MailboxExportRequest issues
>
> Your Sent and Received are the same? You may also need to specify a MM:HH in
> addition to MM:DD:.
>
>
>
> Can you send the output of the command when it fails?
>
>
>
> From: bounce-9480934-8066...@lyris.sunbelt-software.com
> [mailto:bounce-9480934-8066...@lyris.sunbelt-software.com] On Behalf Of
> Joseph L. Casale
> Sent: 29 January 2012 04:10
> To: MS-Exchange Admin Issues
> Subject: New-MailboxExportRequest issues
>
>
>
> Trying to export out sent and received items with a content filter of {(Sent
> -lt '06/28/2011') -and (Received -lt '06/28/2011')}
> This fails, whereas w/o the content filter, or with a simpler one it works.
>
> Anyone see the issue?
>
> Thanks,
> jlc
>
> Ps. Sorry for the lame sub, lyris's fault
>

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist


---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist



RE: New-MailboxExportRequest issues

2012-01-30 Thread Sobey, Richard A
It's a strange one, and from some forum digging I'm not alone. Yes, definitely 
a bug. Output below:

[PS] C:\scripts\Ps>(Get-Culture) | fl


Parent : en
LCID   : 2057
KeyboardLayoutId   : 2057
Name   : en-GB
IetfLanguageTag: en-GB
DisplayName: English (United Kingdom)
NativeName : English (United Kingdom)
EnglishName: English (United Kingdom)
TwoLetterISOLanguageName   : en
ThreeLetterISOLanguageName : eng
ThreeLetterWindowsLanguageName : ENG
CompareInfo: CompareInfo - 2057
TextInfo   : TextInfo - 2057
IsNeutralCulture   : False
CultureTypes   : SpecificCultures, InstalledWin32Cultures, 
FrameworkCultures
NumberFormat   : System.Globalization.NumberFormatInfo
DateTimeFormat : System.Globalization.DateTimeFormatInfo
Calendar   : System.Globalization.GregorianCalendar
OptionalCalendars  : {System.Globalization.GregorianCalendar, 
System.Globalization.GregorianCalendar}
UseUserOverride: True
IsReadOnly : False



[PS] C:\scripts\Ps>(get-culture).DateTimeFormat


AMDesignator : AM
Calendar : System.Globalization.GregorianCalendar
DateSeparator: /
FirstDayOfWeek   : Monday
CalendarWeekRule : FirstDay
FullDateTimePattern  : dd   HH:mm:ss
LongDatePattern  : dd  
LongTimePattern  : HH:mm:ss
MonthDayPattern  : dd 
PMDesignator : PM
RFC1123Pattern   : ddd, dd MMM  HH':'mm':'ss 'GMT'
ShortDatePattern : dd/MM/
ShortTimePattern : HH:mm
SortableDateTimePattern  : '-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator: :
UniversalSortableDateTimePattern : '-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern :  
AbbreviatedDayNames  : {Sun, Mon, Tue, Wed, Thu, Fri, Sat}
ShortestDayNames : {Su, Mo, Tu, We, Th, Fr, Sa}
DayNames : {Sunday, Monday, Tuesday, Wednesday, 
Thursday, Friday, Saturday}
AbbreviatedMonthNames: {Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, 
Sep, Oct, Nov, Dec, }
MonthNames   : {January, February, March, April, May, June, 
July, August, September, October, Novem
   ber, December, }
IsReadOnly   : False
NativeCalendarName   : Gregorian Calendar
AbbreviatedMonthGenitiveNames: {Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, 
Sep, Oct, Nov, Dec, }
MonthGenitiveNames   : {January, February, March, April, May, June, 
July, August, September, October, Novem
   ber, December, }

From: bounce-9481383-8066...@lyris.sunbelt-software.com 
[mailto:bounce-9481383-8066...@lyris.sunbelt-software.com] On Behalf Of Michael 
B. Smith
Sent: 30 January 2012 15:33
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

I've never heard of that and it sounds like a bug. Granted I'm en-us all the 
way, so I don't see these types of problems.

Can you also run these for me? (Any PowerShell window, doesn't have to be EMS.)

(get-culture) | fl
(get-culture).DateTimeFormat

Thanks.

I need to figure out if PowerShell has the right values and it's an 
Exchange-only issue, or a combo issue.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Sobey, Richard A 
[mailto:r.so...@imperial.ac.uk]<mailto:[mailto:r.so...@imperial.ac.uk]>
Sent: Monday, January 30, 2012 10:18 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Hah! Over here in Blighty I have to use "DD/MM/" for any date up to and 
including the 12th of each month, and "MM/DD/" for the 13th and after. Or, 
I can stick to "MM/DD/" throughout the entire command.

Grrr.

From: 
bounce-9481349-8066...@lyris.sunbelt-software.com<mailto:bounce-9481349-8066...@lyris.sunbelt-software.com>
 
[mailto:bounce-9481349-8066...@lyris.sunbelt-software.com]<mailto:[mailto:bounce-9481349-8066...@lyris.sunbelt-software.com]>
 On Behalf Of Michael B. Smith
Sent: 30 January 2012 13:50
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Did you write dd/mm/ ?? Really? Where are you?

Single vs. double quotes shouldn't make any difference.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.co

Re: New-MailboxExportRequest issues

2012-01-30 Thread Steve Kradel
I'd suggest going with a format that's unambiguous, and readily
accepted by both .NET and SQL:  "dd-MMM-"; e.g., "30-JAN-2012".
This is my date format of choice for systems and for communicating
with an international audience.

--Steve

On Mon, Jan 30, 2012 at 10:18 AM, Sobey, Richard A
 wrote:
> Hah! Over here in Blighty I have to use “DD/MM/” for any date up to and
> including the 12th of each month, and “MM/DD/” for the 13th and after.
> Or, I can stick to “MM/DD/” throughout the entire command.
>
>
>
> Grrr.
>
>
>
> From: bounce-9481349-8066...@lyris.sunbelt-software.com
> [mailto:bounce-9481349-8066...@lyris.sunbelt-software.com] On Behalf Of
> Michael B. Smith
> Sent: 30 January 2012 13:50
>
>
> To: MS-Exchange Admin Issues
> Subject: RE: New-MailboxExportRequest issues
>
>
>
> Did you write dd/mm/ ?? Really? Where are you?
>
>
>
> Single vs. double quotes shouldn’t make any difference.
>
>
>
> Regards,
>
>
>
> Michael B. Smith
>
> Consultant and Exchange MVP
>
> http://TheEssentialExchange.com
>
>
>
> From: Joseph L. Casale [mailto:jcas...@activenetwerx.com]
> Sent: Monday, January 30, 2012 8:41 AM
> To: MS-Exchange Admin Issues
> Subject: RE: New-MailboxExportRequest issues
>
>
>
> Right,
> Unless I misunderstand it, Sent mail is mail you send whereas Received mail
> is mail you received and I wanted both exported.
>
> No errors are thrown, it accepts it but the job reports failed when viewing
> the queue. I wasnt sure looking at the output of certain cmds versus their
> input as to which format the date should have been specified in, MM/DD or
> DD/MM as a Search-Mailbox being entered in one format returned results
> formatted in the other?
>
> The cmd that finally worked is DD/MM/ in double quotes. Looking at my
> notes it was second format I tried, but somewhere along the attempts I
> switched to double quotes instead of single, who knows...
>
> Thanks!
> jlc
>
> 
>
> From: Sobey, Richard A [r.so...@imperial.ac.uk]
> Sent: Monday, January 30, 2012 3:30 AM
> To: MS-Exchange Admin Issues
> Subject: RE: New-MailboxExportRequest issues
>
> Your Sent and Received are the same? You may also need to specify a MM:HH in
> addition to MM:DD:.
>
>
>
> Can you send the output of the command when it fails?
>
>
>
> From: bounce-9480934-8066...@lyris.sunbelt-software.com
> [mailto:bounce-9480934-8066...@lyris.sunbelt-software.com] On Behalf Of
> Joseph L. Casale
> Sent: 29 January 2012 04:10
> To: MS-Exchange Admin Issues
> Subject: New-MailboxExportRequest issues
>
>
>
> Trying to export out sent and received items with a content filter of {(Sent
> -lt '06/28/2011') -and (Received -lt '06/28/2011')}
> This fails, whereas w/o the content filter, or with a simpler one it works.
>
> Anyone see the issue?
>
> Thanks,
> jlc
>
> Ps. Sorry for the lame sub, lyris's fault
>

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist



RE: New-MailboxExportRequest issues

2012-01-30 Thread Michael B. Smith
I've never heard of that and it sounds like a bug. Granted I'm en-us all the 
way, so I don't see these types of problems.

Can you also run these for me? (Any PowerShell window, doesn't have to be EMS.)

(get-culture) | fl
(get-culture).DateTimeFormat

Thanks.

I need to figure out if PowerShell has the right values and it's an 
Exchange-only issue, or a combo issue.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Sobey, Richard A [mailto:r.so...@imperial.ac.uk]
Sent: Monday, January 30, 2012 10:18 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Hah! Over here in Blighty I have to use "DD/MM/" for any date up to and 
including the 12th of each month, and "MM/DD/" for the 13th and after. Or, 
I can stick to "MM/DD/" throughout the entire command.

Grrr.

From: 
bounce-9481349-8066...@lyris.sunbelt-software.com<mailto:bounce-9481349-8066...@lyris.sunbelt-software.com>
 
[mailto:bounce-9481349-8066...@lyris.sunbelt-software.com]<mailto:[mailto:bounce-9481349-8066...@lyris.sunbelt-software.com]>
 On Behalf Of Michael B. Smith
Sent: 30 January 2012 13:50
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Did you write dd/mm/ ?? Really? Where are you?

Single vs. double quotes shouldn't make any difference.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Joseph L. Casale 
[mailto:jcas...@activenetwerx.com]<mailto:[mailto:jcas...@activenetwerx.com]>
Sent: Monday, January 30, 2012 8:41 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Right,
Unless I misunderstand it, Sent mail is mail you send whereas Received mail is 
mail you received and I wanted both exported.

No errors are thrown, it accepts it but the job reports failed when viewing the 
queue. I wasnt sure looking at the output of certain cmds versus their input as 
to which format the date should have been specified in, MM/DD or DD/MM as a 
Search-Mailbox being entered in one format returned results formatted in the 
other?

The cmd that finally worked is DD/MM/ in double quotes. Looking at my notes 
it was second format I tried, but somewhere along the attempts I switched to 
double quotes instead of single, who knows...

Thanks!
jlc

From: Sobey, Richard A [r.so...@imperial.ac.uk]
Sent: Monday, January 30, 2012 3:30 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues
Your Sent and Received are the same? You may also need to specify a MM:HH in 
addition to MM:DD:.

Can you send the output of the command when it fails?

From: 
bounce-9480934-8066...@lyris.sunbelt-software.com<mailto:bounce-9480934-8066...@lyris.sunbelt-software.com>
 
[mailto:bounce-9480934-8066...@lyris.sunbelt-software.com]<mailto:[mailto:bounce-9480934-8066...@lyris.sunbelt-software.com]>
 On Behalf Of Joseph L. Casale
Sent: 29 January 2012 04:10
To: MS-Exchange Admin Issues
Subject: New-MailboxExportRequest issues

Trying to export out sent and received items with a content filter of {(Sent 
-lt '06/28/2011') -and (Received -lt '06/28/2011')}
This fails, whereas w/o the content filter, or with a simpler one it works.

Anyone see the issue?

Thanks,
jlc

Ps. Sorry for the lame sub, lyris's fault

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist

RE: New-MailboxExportRequest issues

2012-01-30 Thread Sobey, Richard A
Of course, you're right, I was having a brain-fart moment. Sorry! See other 
replies anyway :)

From: bounce-9481344-8066...@lyris.sunbelt-software.com 
[mailto:bounce-9481344-8066...@lyris.sunbelt-software.com] On Behalf Of Joseph 
L. Casale
Sent: 30 January 2012 13:41
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Right,
Unless I misunderstand it, Sent mail is mail you send whereas Received mail is 
mail you received and I wanted both exported.

No errors are thrown, it accepts it but the job reports failed when viewing the 
queue. I wasnt sure looking at the output of certain cmds versus their input as 
to which format the date should have been specified in, MM/DD or DD/MM as a 
Search-Mailbox being entered in one format returned results formatted in the 
other?

The cmd that finally worked is DD/MM/ in double quotes. Looking at my notes 
it was second format I tried, but somewhere along the attempts I switched to 
double quotes instead of single, who knows...

Thanks!
jlc

From: Sobey, Richard A [r.so...@imperial.ac.uk]
Sent: Monday, January 30, 2012 3:30 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues
Your Sent and Received are the same? You may also need to specify a MM:HH in 
addition to MM:DD:.

Can you send the output of the command when it fails?

From: 
bounce-9480934-8066...@lyris.sunbelt-software.com<mailto:bounce-9480934-8066...@lyris.sunbelt-software.com>
 
[mailto:bounce-9480934-8066...@lyris.sunbelt-software.com]<mailto:[mailto:bounce-9480934-8066...@lyris.sunbelt-software.com]>
 On Behalf Of Joseph L. Casale
Sent: 29 January 2012 04:10
To: MS-Exchange Admin Issues
Subject: New-MailboxExportRequest issues

Trying to export out sent and received items with a content filter of {(Sent 
-lt '06/28/2011') -and (Received -lt '06/28/2011')}
This fails, whereas w/o the content filter, or with a simpler one it works.

Anyone see the issue?

Thanks,
jlc

Ps. Sorry for the lame sub, lyris's fault

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist

RE: New-MailboxExportRequest issues

2012-01-30 Thread Sobey, Richard A
Hah! Over here in Blighty I have to use "DD/MM/" for any date up to and 
including the 12th of each month, and "MM/DD/" for the 13th and after. Or, 
I can stick to "MM/DD/" throughout the entire command.

Grrr.

From: bounce-9481349-8066...@lyris.sunbelt-software.com 
[mailto:bounce-9481349-8066...@lyris.sunbelt-software.com] On Behalf Of Michael 
B. Smith
Sent: 30 January 2012 13:50
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Did you write dd/mm/ ?? Really? Where are you?

Single vs. double quotes shouldn't make any difference.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Joseph L. Casale [mailto:jcas...@activenetwerx.com]
Sent: Monday, January 30, 2012 8:41 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Right,
Unless I misunderstand it, Sent mail is mail you send whereas Received mail is 
mail you received and I wanted both exported.

No errors are thrown, it accepts it but the job reports failed when viewing the 
queue. I wasnt sure looking at the output of certain cmds versus their input as 
to which format the date should have been specified in, MM/DD or DD/MM as a 
Search-Mailbox being entered in one format returned results formatted in the 
other?

The cmd that finally worked is DD/MM/ in double quotes. Looking at my notes 
it was second format I tried, but somewhere along the attempts I switched to 
double quotes instead of single, who knows...

Thanks!
jlc

From: Sobey, Richard A [r.so...@imperial.ac.uk]
Sent: Monday, January 30, 2012 3:30 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues
Your Sent and Received are the same? You may also need to specify a MM:HH in 
addition to MM:DD:.

Can you send the output of the command when it fails?

From: 
bounce-9480934-8066...@lyris.sunbelt-software.com<mailto:bounce-9480934-8066...@lyris.sunbelt-software.com>
 
[mailto:bounce-9480934-8066...@lyris.sunbelt-software.com]<mailto:[mailto:bounce-9480934-8066...@lyris.sunbelt-software.com]>
 On Behalf Of Joseph L. Casale
Sent: 29 January 2012 04:10
To: MS-Exchange Admin Issues
Subject: New-MailboxExportRequest issues

Trying to export out sent and received items with a content filter of {(Sent 
-lt '06/28/2011') -and (Received -lt '06/28/2011')}
This fails, whereas w/o the content filter, or with a simpler one it works.

Anyone see the issue?

Thanks,
jlc

Ps. Sorry for the lame sub, lyris's fault

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist

RE: New-MailboxExportRequest issues

2012-01-30 Thread Michael B. Smith
Can you run these for me? (Any PowerShell window, doesn't have to be EMS.)

(get-culture) | fl
(get-culture).DateTimeFormat

Thanks.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Joseph L. Casale [mailto:jcas...@activenetwerx.com]
Sent: Monday, January 30, 2012 9:16 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Hailing from Canada:)
What can I say, maybe it was something else as the jobs were accepted, but when 
viewing stats showed failed almost immediately.
Search-Mailbox seems to accept either and so long as the DD is larger than any 
MM, it knows, and always seems to report back in DD/MM/.

jlc

From: Michael B. Smith [mich...@smithcons.com]
Sent: Monday, January 30, 2012 6:50 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues
Did you write dd/mm/ ?? Really? Where are you?

Single vs. double quotes shouldn't make any difference.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Joseph L. Casale 
[mailto:jcas...@activenetwerx.com]<mailto:[mailto:jcas...@activenetwerx.com]>
Sent: Monday, January 30, 2012 8:41 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Right,
Unless I misunderstand it, Sent mail is mail you send whereas Received mail is 
mail you received and I wanted both exported.

No errors are thrown, it accepts it but the job reports failed when viewing the 
queue. I wasnt sure looking at the output of certain cmds versus their input as 
to which format the date should have been specified in, MM/DD or DD/MM as a 
Search-Mailbox being entered in one format returned results formatted in the 
other?

The cmd that finally worked is DD/MM/ in double quotes. Looking at my notes 
it was second format I tried, but somewhere along the attempts I switched to 
double quotes instead of single, who knows...

Thanks!
jlc

From: Sobey, Richard A [r.so...@imperial.ac.uk]
Sent: Monday, January 30, 2012 3:30 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues
Your Sent and Received are the same? You may also need to specify a MM:HH in 
addition to MM:DD:.

Can you send the output of the command when it fails?

From: 
bounce-9480934-8066...@lyris.sunbelt-software.com<mailto:bounce-9480934-8066...@lyris.sunbelt-software.com>
 
[mailto:bounce-9480934-8066...@lyris.sunbelt-software.com]<mailto:[mailto:bounce-9480934-8066...@lyris.sunbelt-software.com]>
 On Behalf Of Joseph L. Casale
Sent: 29 January 2012 04:10
To: MS-Exchange Admin Issues
Subject: New-MailboxExportRequest issues

Trying to export out sent and received items with a content filter of {(Sent 
-lt '06/28/2011') -and (Received -lt '06/28/2011')}
This fails, whereas w/o the content filter, or with a simpler one it works.

Anyone see the issue?

Thanks,
jlc

Ps. Sorry for the lame sub, lyris's fault

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist

RE: New-MailboxExportRequest issues

2012-01-30 Thread Joseph L. Casale
Hailing from Canada:)
What can I say, maybe it was something else as the jobs were accepted, but when 
viewing stats showed failed almost immediately.
Search-Mailbox seems to accept either and so long as the DD is larger than any 
MM, it knows, and always seems to report back in DD/MM/.

jlc

From: Michael B. Smith [mich...@smithcons.com]
Sent: Monday, January 30, 2012 6:50 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Did you write dd/mm/ ?? Really? Where are you?

Single vs. double quotes shouldn’t make any difference.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Joseph L. Casale [mailto:jcas...@activenetwerx.com]
Sent: Monday, January 30, 2012 8:41 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Right,
Unless I misunderstand it, Sent mail is mail you send whereas Received mail is 
mail you received and I wanted both exported.

No errors are thrown, it accepts it but the job reports failed when viewing the 
queue. I wasnt sure looking at the output of certain cmds versus their input as 
to which format the date should have been specified in, MM/DD or DD/MM as a 
Search-Mailbox being entered in one format returned results formatted in the 
other?

The cmd that finally worked is DD/MM/ in double quotes. Looking at my notes 
it was second format I tried, but somewhere along the attempts I switched to 
double quotes instead of single, who knows...

Thanks!
jlc

From: Sobey, Richard A [r.so...@imperial.ac.uk]
Sent: Monday, January 30, 2012 3:30 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues
Your Sent and Received are the same? You may also need to specify a MM:HH in 
addition to MM:DD:.

Can you send the output of the command when it fails?

From: 
bounce-9480934-8066...@lyris.sunbelt-software.com<mailto:bounce-9480934-8066...@lyris.sunbelt-software.com>
 
[mailto:bounce-9480934-8066...@lyris.sunbelt-software.com]<mailto:[mailto:bounce-9480934-8066...@lyris.sunbelt-software.com]>
 On Behalf Of Joseph L. Casale
Sent: 29 January 2012 04:10
To: MS-Exchange Admin Issues
Subject: New-MailboxExportRequest issues

Trying to export out sent and received items with a content filter of {(Sent 
-lt '06/28/2011') -and (Received -lt '06/28/2011')}
This fails, whereas w/o the content filter, or with a simpler one it works.

Anyone see the issue?

Thanks,
jlc

Ps. Sorry for the lame sub, lyris's fault

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist

RE: New-MailboxExportRequest issues

2012-01-30 Thread Michael B. Smith
Did you write dd/mm/ ?? Really? Where are you?

Single vs. double quotes shouldn't make any difference.

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Joseph L. Casale [mailto:jcas...@activenetwerx.com]
Sent: Monday, January 30, 2012 8:41 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Right,
Unless I misunderstand it, Sent mail is mail you send whereas Received mail is 
mail you received and I wanted both exported.

No errors are thrown, it accepts it but the job reports failed when viewing the 
queue. I wasnt sure looking at the output of certain cmds versus their input as 
to which format the date should have been specified in, MM/DD or DD/MM as a 
Search-Mailbox being entered in one format returned results formatted in the 
other?

The cmd that finally worked is DD/MM/ in double quotes. Looking at my notes 
it was second format I tried, but somewhere along the attempts I switched to 
double quotes instead of single, who knows...

Thanks!
jlc

From: Sobey, Richard A [r.so...@imperial.ac.uk]
Sent: Monday, January 30, 2012 3:30 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues
Your Sent and Received are the same? You may also need to specify a MM:HH in 
addition to MM:DD:.

Can you send the output of the command when it fails?

From: 
bounce-9480934-8066...@lyris.sunbelt-software.com<mailto:bounce-9480934-8066...@lyris.sunbelt-software.com>
 
[mailto:bounce-9480934-8066...@lyris.sunbelt-software.com]<mailto:[mailto:bounce-9480934-8066...@lyris.sunbelt-software.com]>
 On Behalf Of Joseph L. Casale
Sent: 29 January 2012 04:10
To: MS-Exchange Admin Issues
Subject: New-MailboxExportRequest issues

Trying to export out sent and received items with a content filter of {(Sent 
-lt '06/28/2011') -and (Received -lt '06/28/2011')}
This fails, whereas w/o the content filter, or with a simpler one it works.

Anyone see the issue?

Thanks,
jlc

Ps. Sorry for the lame sub, lyris's fault

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist

RE: New-MailboxExportRequest issues

2012-01-30 Thread Joseph L. Casale
Right,
Unless I misunderstand it, Sent mail is mail you send whereas Received mail is 
mail you received and I wanted both exported.

No errors are thrown, it accepts it but the job reports failed when viewing the 
queue. I wasnt sure looking at the output of certain cmds versus their input as 
to which format the date should have been specified in, MM/DD or DD/MM as a 
Search-Mailbox being entered in one format returned results formatted in the 
other?

The cmd that finally worked is DD/MM/ in double quotes. Looking at my notes 
it was second format I tried, but somewhere along the attempts I switched to 
double quotes instead of single, who knows...

Thanks!
jlc


From: Sobey, Richard A [r.so...@imperial.ac.uk]
Sent: Monday, January 30, 2012 3:30 AM
To: MS-Exchange Admin Issues
Subject: RE: New-MailboxExportRequest issues

Your Sent and Received are the same? You may also need to specify a MM:HH in 
addition to MM:DD:.

Can you send the output of the command when it fails?

From: bounce-9480934-8066...@lyris.sunbelt-software.com 
[mailto:bounce-9480934-8066...@lyris.sunbelt-software.com] On Behalf Of Joseph 
L. Casale
Sent: 29 January 2012 04:10
To: MS-Exchange Admin Issues
Subject: New-MailboxExportRequest issues

Trying to export out sent and received items with a content filter of {(Sent 
-lt '06/28/2011') -and (Received -lt '06/28/2011')}
This fails, whereas w/o the content filter, or with a simpler one it works.

Anyone see the issue?

Thanks,
jlc

Ps. Sorry for the lame sub, lyris's fault

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist

RE: New-MailboxExportRequest issues

2012-01-30 Thread Sobey, Richard A
Your Sent and Received are the same? You may also need to specify a MM:HH in 
addition to MM:DD:.

Can you send the output of the command when it fails?

From: bounce-9480934-8066...@lyris.sunbelt-software.com 
[mailto:bounce-9480934-8066...@lyris.sunbelt-software.com] On Behalf Of Joseph 
L. Casale
Sent: 29 January 2012 04:10
To: MS-Exchange Admin Issues
Subject: New-MailboxExportRequest issues

Trying to export out sent and received items with a content filter of {(Sent 
-lt '06/28/2011') -and (Received -lt '06/28/2011')}
This fails, whereas w/o the content filter, or with a simpler one it works.

Anyone see the issue?

Thanks,
jlc

Ps. Sorry for the lame sub, lyris's fault

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe exchangelist