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 MMMM yyyy HH:mm:ss
LongDatePattern : dd MMMM yyyy
LongTimePattern : HH:mm:ss
MonthDayPattern : dd MMMM
PMDesignator : PM
RFC1123Pattern : ddd, dd MMM yyyy HH':'mm':'ss 'GMT'
ShortDatePattern : dd/MM/yyyy
ShortTimePattern : HH:mm
SortableDateTimePattern : yyyy'-'MM'-'dd'T'HH':'mm':'ss
TimeSeparator : :
UniversalSortableDateTimePattern : yyyy'-'MM'-'dd HH':'mm':'ss'Z'
YearMonthPattern : MMMM yyyy
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: [email protected]
[mailto:[email protected]] 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:[email protected]]<mailto:[mailto:[email protected]]>
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/YYYY" for any date up to and
including the 12th of each month, and "MM/DD/YYYY" for the 13th and after. Or,
I can stick to "MM/DD/YYYY" throughout the entire command.
Grrr.
From:
[email protected]<mailto:[email protected]>
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
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/yyyy ?? 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:[email protected]]<mailto:[mailto:[email protected]]>
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/YYYY 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 [[email protected]]
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:YYYY.
Can you send the output of the command when it fails?
From:
[email protected]<mailto:[email protected]>
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
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
[email protected]<mailto:[email protected]>
with the body: unsubscribe exchangelist
---
To manage subscriptions click here:
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to
[email protected]<mailto:[email protected]>
with the body: unsubscribe exchangelist
---
To manage subscriptions click here:
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to
[email protected]<mailto:[email protected]>
with the body: unsubscribe exchangelist
---
To manage subscriptions click here:
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to
[email protected]<mailto:[email protected]>
with the body: unsubscribe exchangelist
---
To manage subscriptions click here:
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to
[email protected]<mailto:[email protected]>
with the body: unsubscribe exchangelist
---
To manage subscriptions click here:
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to
[email protected]<mailto:[email protected]>
with the body: unsubscribe exchangelist
---
To manage subscriptions click here:
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe exchangelist