RE: The true number of messages in a folder

2013-01-29 Thread Michael B. Smith
I think you will have to use EWS and exclude FAIs.

Sent from my Windows Phone

From: Sobey, Richard A
Sent: 1/29/2013 12:31 PM
To: MS-Exchange Admin Issues
Subject: The true number of messages in a folder

I’ve been asked to write a very simple script to monitor the number of items in 
the Inbox of a particular mailbox, and email an alert if this number goes above 
a threshold. Works perfectly.

The problem is, using Outlook, the Inbox is empty. Using 
Get-MailboxFolderStatistics, there are 10 items in the mailbox. (Using my own 
mailbox as another example, Outlook says 8257, Powershell says 8340).

I understand there could be hidden messages, or other things that may 
contribute to this, but is there any way I can query the number of actual 
messages that the user would see?

Thanks

Richard

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

FW: Retention Policy Tag

2013-01-29 Thread Dan Hyatt
Hey guys, 

 
 
I’m setting up retention policy tags to keep resource mailboxes clean in our 
staging environment and am having trouble getting it setup for the Calendar.
 
Here is the command I used to create it.
 
[PS] C:\Windows\system32>New-RetentionPolicyTag -name "Resource Mbx Calendar" 
-AgeLimitForRetention 1 -RetentionAction deleteandallowrecovery 
-RetentionEnabled $true
 
 
As you can see it created as a “personal tag” instead of a “retention policy 
tag”.
 
Any idea how I can fix that?
 
Thanks,  Dan
 
 


  
---
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: Retention Policy Tag

2013-01-29 Thread Maglinger, Paul
Are you running at least SP2 RU4?

From: Dan Hyatt [mailto:d...@danhyatt.com]
Sent: Tuesday, January 29, 2013 3:31 PM
To: MS-Exchange Admin Issues
Subject: FW: Retention Policy Tag

Hey guys,


I'm setting up retention policy tags to keep resource mailboxes clean in our 
staging environment and am having trouble getting it setup for the Calendar.

Here is the command I used to create it.

[PS] C:\Windows\system32>New-RetentionPolicyTag -name "Resource Mbx Calendar" 
-AgeLimitForRetention 1 -RetentionAction deleteandallowrecovery 
-RetentionEnabled $true


As you can see it created as a "personal tag" instead of a "retention policy 
tag".

Any idea how I can fix that?

Thanks,  Dan


[cid:image001.png@01CDFE39.4B72AD10]
---
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: Retention Policy Tag

2013-01-29 Thread Dan Hyatt
I sure am.  Thanks for asking.
I know that is the min version to be able to do this.

From: pmaglin...@scvl.com
To: exchangelist@lyris.sunbelt-software.com
Subject: RE: Retention Policy Tag
Date: Tue, 29 Jan 2013 21:57:09 +









Are you running at least SP2 RU4?
 


From: Dan Hyatt [mailto:d...@danhyatt.com]


Sent: Tuesday, January 29, 2013 3:31 PM

To: MS-Exchange Admin Issues

Subject: FW: Retention Policy Tag


 

Hey guys, 





 
 
I’m setting up retention policy tags to keep resource mailboxes clean in our 
staging environment and am having trouble getting it setup for the Calendar.
 
Here is the command I used to create it.
 
[PS] C:\Windows\system32>New-RetentionPolicyTag -name "Resource Mbx Calendar" 
-AgeLimitForRetention 1 -RetentionAction deleteandallowrecovery 
-RetentionEnabled $true
 
 
As you can see it created as a “personal tag” instead of a “retention policy 
tag”.
 
Any idea how I can fix that?
 
Thanks,  Dan
 
 






---

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: Retention Policy Tag

2013-01-29 Thread Robinson, Chuck
You need to specify the default folder -Type Calendar.

http://technet.microsoft.com/en-us/library/dd335226(v=exchg.141).aspx


Chuck Robinson
___
Sr. Solutions Architect
Microsoft Certified Master: Exchange 2010
MCITP: EA Windows Server 2008

EMC Consulting
Mobile: 973-865-0394
chuck.robin...@emc.com
www.emc.com/consulting

Transforming Information Into Business Results

From: Dan Hyatt [mailto:d...@danhyatt.com]
Sent: Tuesday, January 29, 2013 5:00 PM
To: MS-Exchange Admin Issues
Subject: RE: Retention Policy Tag

I sure am.  Thanks for asking.
I know that is the min version to be able to do this.

From: pmaglin...@scvl.com
To: 
exchangelist@lyris.sunbelt-software.com
Subject: RE: Retention Policy Tag
Date: Tue, 29 Jan 2013 21:57:09 +
Are you running at least SP2 RU4?

From: Dan Hyatt [mailto:d...@danhyatt.com]
Sent: Tuesday, January 29, 2013 3:31 PM
To: MS-Exchange Admin Issues
Subject: FW: Retention Policy Tag

Hey guys,


I'm setting up retention policy tags to keep resource mailboxes clean in our 
staging environment and am having trouble getting it setup for the Calendar.

Here is the command I used to create it.

[PS] C:\Windows\system32>New-RetentionPolicyTag -name "Resource Mbx Calendar" 
-AgeLimitForRetention 1 -RetentionAction deleteandallowrecovery 
-RetentionEnabled $true


As you can see it created as a "personal tag" instead of a "retention policy 
tag".

Any idea how I can fix that?

Thanks,  Dan


[cid:image001.png@01CDFE42.D66CE5D0]
---
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

---
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: Retention Policy Tag

2013-01-29 Thread Dan Hyatt
Thank you Chuck, I deleted and recreated and that worked.

-Dan

From: chuck.robin...@emc.com
To: exchangelist@lyris.sunbelt-software.com
Subject: RE: Retention Policy Tag
Date: Tue, 29 Jan 2013 22:05:43 +









You need to specify the default folder –Type Calendar.
 
http://technet.microsoft.com/en-us/library/dd335226(v=exchg.141).aspx
 
 

Chuck Robinson
___

Sr. Solutions Architect
Microsoft Certified Master: Exchange 2010
MCITP: EA Windows Server 2008
 
EMC Consulting
Mobile: 973-865-0394

chuck.robin...@emc.com 
www.emc.com/consulting
 
Transforming Information Into Business Results

 


From: Dan Hyatt [mailto:d...@danhyatt.com]


Sent: Tuesday, January 29, 2013 5:00 PM

To: MS-Exchange Admin Issues

Subject: RE: Retention Policy Tag


 

I sure am.  Thanks for asking.

I know that is the min version to be able to do this.




From:
pmaglin...@scvl.com

To: exchangelist@lyris.sunbelt-software.com

Subject: RE: Retention Policy Tag

Date: Tue, 29 Jan 2013 21:57:09 +

Are you running at least SP2 RU4?
 


From: Dan Hyatt [mailto:d...@danhyatt.com]


Sent: Tuesday, January 29, 2013 3:31 PM

To: MS-Exchange Admin Issues

Subject: FW: Retention Policy Tag


 

Hey guys, 





 
 
I’m setting up retention policy tags to keep resource mailboxes clean in our 
staging environment and am having trouble getting it setup for the Calendar.
 
Here is the command I used to create it.
 
[PS] C:\Windows\system32>New-RetentionPolicyTag -name "Resource Mbx Calendar" 
-AgeLimitForRetention 1 -RetentionAction deleteandallowrecovery 
-RetentionEnabled $true
 
 
As you can see it created as a “personal tag” instead of a “retention policy 
tag”.
 
Any idea how I can fix that?
 
Thanks,  Dan
 
 






---

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


---

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: Retention Policy Tag

2013-01-29 Thread Robinson, Chuck
Glad to be of assistance.

Chuck Robinson
___
Sr. Solutions Architect
Microsoft Certified Master: Exchange 2010
MCITP: EA Windows Server 2008

EMC Consulting
Mobile: 973-865-0394
chuck.robin...@emc.com
www.emc.com/consulting

Transforming Information Into Business Results

From: Dan Hyatt [mailto:d...@danhyatt.com]
Sent: Tuesday, January 29, 2013 6:07 PM
To: MS-Exchange Admin Issues
Subject: RE: Retention Policy Tag

Thank you Chuck, I deleted and recreated and that worked.

-Dan

From: chuck.robin...@emc.com
To: 
exchangelist@lyris.sunbelt-software.com
Subject: RE: Retention Policy Tag
Date: Tue, 29 Jan 2013 22:05:43 +
You need to specify the default folder -Type Calendar.

http://technet.microsoft.com/en-us/library/dd335226(v=exchg.141).aspx


Chuck Robinson
___
Sr. Solutions Architect
Microsoft Certified Master: Exchange 2010
MCITP: EA Windows Server 2008

EMC Consulting
Mobile: 973-865-0394
chuck.robin...@emc.com
www.emc.com/consulting

Transforming Information Into Business Results

From: Dan Hyatt [mailto:d...@danhyatt.com]
Sent: Tuesday, January 29, 2013 5:00 PM
To: MS-Exchange Admin Issues
Subject: RE: Retention Policy Tag

I sure am.  Thanks for asking.
I know that is the min version to be able to do this.

From: pmaglin...@scvl.com
To: 
exchangelist@lyris.sunbelt-software.com
Subject: RE: Retention Policy Tag
Date: Tue, 29 Jan 2013 21:57:09 +
Are you running at least SP2 RU4?

From: Dan Hyatt [mailto:d...@danhyatt.com]
Sent: Tuesday, January 29, 2013 3:31 PM
To: MS-Exchange Admin Issues
Subject: FW: Retention Policy Tag

Hey guys,


I'm setting up retention policy tags to keep resource mailboxes clean in our 
staging environment and am having trouble getting it setup for the Calendar.

Here is the command I used to create it.

[PS] C:\Windows\system32>New-RetentionPolicyTag -name "Resource Mbx Calendar" 
-AgeLimitForRetention 1 -RetentionAction deleteandallowrecovery 
-RetentionEnabled $true


As you can see it created as a "personal tag" instead of a "retention policy 
tag".

Any idea how I can fix that?

Thanks,  Dan


[cid:image001.png@01CDFE73.EC1E1120]
---
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
---
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<>

Been a long day today, but I won...

2013-01-29 Thread Kurt Buff
So, it's month end, and our UK office is noticing that emails are not
processing outbound from their office. All of their emails come
through the US server, to be delivered wherever, and there are some
big emails (4-8mbytes) with proposals and orders and such, and they're
getting desperate. Lots of little emails are stuck in queue too,
though if left alone they seem to trickle out, while the big messages
go to retry status.

It's already been a long day for me, having been woken up at 3am
because they switched over to a new DSL provider, and couldn't log
into the router to set up the PPOA configuration. (pay attention -
that's a clue...)

While I'm trying to troubleshoot this, the nominal IT manager above me
is freaking out and deleting messages from the outbound queue on the
UK Exchange server, restarting services multiple times, rebooting the
UK server, and generally showing all of the patience and investigative
skill of a 4yo.

I leave the office at 18:00 to pick up my son at daycare, and arrive
home and start ignoring everything else except the problem with
Exchange. (I have a very good wife, and I deeply appreciate her
patience with me!)

I get frustrated, and turn up logging on a bunch of Exchange services,
then bounce both the UK and US servers remotely, just so I have a
clean starting point in the logs.

Finally I notice a 4000 message from MSExchangeTransport on the US
server (along with some 4006 messages from the same source on the UK
server), and hit paydirt.

EventID.net turns up reference to MTU sizes.

I adjust the firewall in our UK office from 1500 to 1450, and
transport of my test message with a 12mbyte text attachment flies
through.

I test once more with the same attachment, just to be sure.

Success.

I am now going to bed.

Good night.

Kurt

PS - I'll turn down the logging tomorrow, when I have a few minutes to
breathe at work.

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