Re: Default Managed folder policy
- From: "Bharat Suneja [MSFT]" <bsuneja@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 15 Sep 2008 09:40:40 -0700
I'm guessing you're confusing the two.
1) Deleted Item Retention set on Mailbox Store (can be set individually on mailboxes as well). Use the following cmdlet to view the existing setting:
Get-MailboxDatabase -Server MyServer | Select name,DeletedItemRetention
Is it set to 7 days?
The "Use Mailbox Database Defaults" checkbox is for the "DeletedItemFlags" property of a mailbox. (You can output these by using the following:
Get-Mailbox | Select Name,*Deleted*
It's a boolean property which has the follwing values (as shown in the output):
1) DatabaseDefault (If value is $true)
2) RetainForCustomPeriod (if value is set to $false)
To set this property:
Set-Mailbox | UseDatabaseRetentionDefaults $false.
This is documented in the Set-Mailbox cmdlet:
http://technet.microsoft.com/en-us/library/bb123981(EXCHG.80).aspx
2) Managed Folder Mailbox Policy: Not quite sure what's the issue with this. Please elaborate.
Understanding Messaging Records Management
http://technet.microsoft.com/en-us/library/bb310756(EXCHG.80).aspx
In brief, the process:
1) Managed Folders (Default or Custom) ---> Create a Managed Content Settings for the Default Folders (such as Inbox, Deleted Items, etc.) that you want to specify a retention setting for.
How to Create a Managed Folder
http://technet.microsoft.com/en-us/library/bb125163.aspx
Managed Folders: How to apply different Managed Content Settings to Default Folders
http://exchangepedia.com/blog/2007/10/managed-folders-how-to-apply-different.html
Restricting Messaging Records Management to a particular message type
http://exchangepedia.com/blog/2007/11/restricting-messaging-records.html
2) Managed Folder Mailbox Policy --> Create a MF Mailbox Policy. Add one or more Managed Folders (Custom or Deault) to a policy.
How to Create a Managed Folder Mailbox Policy
http://technet.microsoft.com/en-us/library/aa996359(EXCHG.80).aspx
3) Mailbox --> Assign Managed Folder Mailbox Policy. MF policies are associated with mailboxes. You can assign them using the EMC or using Set-Mailbox cmdlet.
Applying Managed Folder Policy to more than one user
http://exchangepedia.com/blog/2007/05/applying-managed-folder-policy-to-more.html
4) Schedule the Managed Folder Assistant to run on a schedule.
Exchange Server 2007: Why aren't Managed Content Settngs applied?
http://exchangepedia.com/blog/2007/04/exchange-server-2007-why-arent-managed.html
--
Bharat Suneja
Microsoft Corporation
blog: exchangepedia.com/blog
This posting is provided "AS IS" with no warranties, and confers no
rights. Please do not send email directly to this alias. This alias is for
newsgroup purposes only.
----------------------------
"Jdrumm" <Jdrumm@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:7F9B28E1-DA3B-455E-870F-7A5E6E433BE4@xxxxxxxxxxxxxxxx
here's what I used:
Here's the command I'm using for that (by database)
Get-MailboxDatabase -Server myserver | Set-MailboxDatabase
-DeletedItemRetention 7.00:00:00
Here's what I'm using for the managed folder policy: Get-Mailbox
-ResultSize unlimited | Set-Mailbox -ManagedFolderMailboxPolicy
"defaultpolicy"
When I try the deleted item retention I get this back -- but I have multiple
users on each database that don't have the "use mailbox database defaults"
checked.
What is returned by powershell is this:
WARNING: The command completed successfully but no settings of
'server\SG_Resource\DB_Resource' have been
WARNING: The command completed successfully but no settings of
'server\SG_A-F\DB_A-F' have been modified.
WARNING: The command completed successfully but no settings of
'server\SG_G-K\DB_G-K' have been modified.
WARNING: The command completed successfully but no settings of
'server\SG_L-P\DB_L-P' have been modified.
WARNING: The command completed successfully but no settings of
'server\SG_Q-Z\DB_Q-Z' have been modified.
I also ran a verbose tag and get this:
VERBOSE: Set-MailboxDatabase : Beginning processing.
VERBOSE: Set-MailboxDatabase : Administrator Active Directory session
settings are: View Entire Forest: 'False', Default Scope:
'utsystem.local', Configuration Domain Controller: 'utdc64c.utsystem.local',
VERBOSE: Set-MailboxDatabase : Searching objects
"EXCH2K7\SG_Resource\DB_Resource" of type "MailboxDatabase" under the root
"$null".
VERBOSE: Set-MailboxDatabase : Previous operation run on domain controller
'utdc64c.utsystem.local'.
VERBOSE: Set-MailboxDatabase : Processing object
"EXCH2K7\SG_Resource\DB_Resource".
VERBOSE: Setting Mailbox Database "EXCH2K7\SG_Resource\DB_Resource".
VERBOSE: Set-MailboxDatabase : No properties changed for the object
"EXCH2K7\SG_Resource\DB_Resource".
WARNING: The command completed successfully but no settings of
'EXCH2K7\SG_Resource\DB_Resource' have been modified.
VERBOSE: Set-MailboxDatabase : Saving object
"EXCH2K7\SG_Resource\DB_Resource" of type "MailboxDatabase" and state
"Unchanged".
VERBOSE: Set-MailboxDatabase : Previous operation run on domain controller
'utdc64c.utsystem.local'.
VERBOSE: Set-MailboxDatabase : Getting the name of the domain controller to
be used to double write the configurable object's changes.
Double Write is the mechanism to make sure that the changes are persisted in
the domain controller used by the store service on Server
"EXCH2K7".
"Bharat Suneja [MSFT]" wrote:
What cmdlets/syntax did you use?
--
Bharat Suneja
Microsoft Corporation
blog: exchangepedia.com/blog
This posting is provided "AS IS" with no warranties, and confers no
rights. Please do not send email directly to this alias. This alias is for
newsgroup purposes only.
----------------------------
"Jdrumm" <Jdrumm@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0DB7EEAA-3FE0-43EA-A902-3DAFC75C1A82@xxxxxxxxxxxxxxxx
> Hi,
> I'm trying to run two powershell commands and am getting "the command
> completed successfully but not settings of "xxxxx" have been modified".
>
> The first is to set all users to the managed default folder policy, the
> 2nd
> is to set all users to a specified number of days for the deleted items
> retention. I've looked and can't figure out why the changes aren't
> showing
> up for individual users (the checkbox for use default policy don't show > as
> checked). As a result of this, my policies aren't set for all users. > Any
> help is appreciated.
>
> THanks.
.
- Follow-Ups:
- Re: Default Managed folder policy
- From: Bharat Suneja [MSFT]
- Re: Default Managed folder policy
- From: Jdrumm
- Re: Default Managed folder policy
- References:
- Re: Default Managed folder policy
- From: Bharat Suneja [MSFT]
- Re: Default Managed folder policy
- From: Jdrumm
- Re: Default Managed folder policy
- Prev by Date: Re: Exchange Queue full of Denial of Service messages
- Next by Date: Re: Hub to Hub communication restriction
- Previous by thread: Re: Default Managed folder policy
- Next by thread: Re: Default Managed folder policy
- Index(es):
Relevant Pages
|