I believe that returns all years, if I'm not mistaken.  So not just Dec 2012, 
but 2011 etc etc?


From: Campbell, Rob [mailto:rob_campb...@centraltechnology.net]
Sent: Tuesday, February 19, 2013 1:38 PM
To: MS-Exchange Admin Issues
Subject: RE: Working a script



Get-Mailbox -Resultsize unlimited | Where-Object {($_.WhenCreated).Month -eq 8}

By default, Get-Mailbox only returns the first 1000 results.  Change the 8 to 
12 should return the mailboxes created in December.

From: Heaton, Joseph@Wildlife [mailto:joseph.hea...@wildlife.ca.gov]
Sent: Tuesday, February 19, 2013 12:27 PM
To: MS-Exchange Admin Issues
Subject: Working a script

I'm trying to get a list of mailboxes that were created during a certain month. 
 The following is all I could find so far through Google:

Get-Mailbox | Where-Object {($_.WhenCreated).Month -eq 8}

What does the 8 in the above command mean?  Is it the 8th month?  I tried it by 
replacing that with 12, since I want to get a list of mailboxes created in 
December, but the list that came back was way short of actual boxes created in 
December.

Thanks for any help,

Joe Heaton
Enterprise Server Support
CA Department of Fish and Wildlife
1807 13th Street, Suite 201
Sacramento, CA  95811
Desk:  (916) 557-3422


---
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

**************************************************************************************************
Note:
The information contained in this message may be privileged and confidential and
protected from disclosure.  If the reader of this message is not the intended
recipient, or an employee or agent responsible for delivering this message to
the intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. If you
have received this communication in error, please notify us immediately by
replying to the message and deleting it from your computer.
**************************************************************************************************

---
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

Reply via email to