Posts Tagged ‘folder’

Hi folks,

with Exchange 2013 ManagedFolders are no longer supported. This feature has been replaced by RetentionTags and RetentionPolicies.
The central management of custom folders is made more diffcult. The local user can apply the RetentionPolicies manual. A workarround for centralized management is the use of Exchange Web Services.

$getRTResp=$service.GetUserRetentionPolicyTags();
foreach ($rtTagin$getRTResp.RetentionPolicyTags) {
if ($rtTag.DisplayName-eq”1 Month Delete”)
{
$NewFolder=new-objectMicrosoft.Exchange.WebServices.Data.Folder($service)
$NewFolder.DisplayName=”My New Folder12345″
$NewFolder.FolderClass=”IPF.Note”
$NewFolder.PolicyTag=New-Object
Microsoft.Exchange.WebServices.Data.PolicyTag($true,$rtTag.RetentionId)
$NewFolder.Save($folderid)
}
}

This is an example how to create a new folder and set the RetentionPolicyTag on that folder to a UserRetentionPolicyTag called “1 Month Delete”.

(Source: MSDN Blog)

Cheers,

Chris

Recently I had a problem while migrating a customers’  Exchange 2003 to MSX2010. The mailbox migration went well, and so we deleted all mailstorage groups on the Exchange 2003 Backend server.

After this we started to move the public folders on a Exchange 2003 Frontend server and triggered the “Move-All-Repicas” script on the Exchange 2010, too.

Nothing happened – no messages in the event log. After several attempts the customer tested to move the public folders on the original BE server and immediately appeared the error: “Error c1050000 MSexchangeIS – Profile is not configured”. (Thank you, Joerg;-))

After brief research, it turned out that this error occurs if on the public folders’ source server no mailbox storage group is configured.

After re-create a storage group and and information store mailbox replication worked as expected.

Cheers,

Chris

Here comes the command to get an overview over recoverable items in a mailbox:

Get-MailboxFolderStatistics -Identity user@domain.com -FolderScope RecoverableItems | Format-Table Name,FolderPath,ItemsInFolder,FolderAndSubfolderSize

Regards,

Chris


									

With this command you get an overview over a certain user’s mailbox folders:

Get-MailboxFolderStatistics user@domain.com | ft folderpath, itemsinfolder

You can limit this to special folder, too:

Get-MailboxFolderStatistics -identity user@domain.com -FolderScope ‘DeletedItems’ | Select Identity, FolderPath, ItemsInFolder, FolderSize

Cheers,

Chris

In some cases you are forced to hard-remove public folders from Exchange. You can use ADSI Edit to delete these folders.

Exchange 2010

Open ADSI-Edit and got to configuration

Navigate to this path:

CN=Configuration,DC=DOMAIN,DC=LOCAL
CN=Services
CN=Microsoft Exchange
CN=EXCHANGE_ORG
CN=Administrative Groups
CN=Exchange Administrative Group (FYDIBOHF23SPDLT)
CN=Databases
CN=PUBLIC_FOLDER_DATABASE

Now you can delete the PF-Database you want to get rid off.

Exchange 2007

Open ADSI-Edit and got to configuration

Navigate to this path:

CN=Configuration,DC=DOMAIN,DC=LOCAL
CN=Services
CN=Microsoft Exchange
CN=EXCHANGE_ORG
CN=Administrative Groups
CN=Exchange Administrative Group (FYDIBOHF23SPDLT)
CN=Servers
CN=SERVERNAME
CN=InformationStore
CN=STORAGE_GROUP
CN=PUBLIC_FOLDER_DATABASE

Now you can delete the PF-Database you want to get rid off.

Exchange 2003

Open ADSI-Edit and got to configuration

Navigate to this path:

CN=Configuration,DC=DOMAIN,DC=LOCAL
CN=Services
CN=Microsoft Exchange
CN=EXCHANGE_ORG
CN=Administrative Groups
CN=First administrative Group
CN=Servers
CN=SERVERNAME
CN=InformationStore
CN=STORAGE_GROUP
CN=PUBLIC_FOLDER_DATABASE

Now you can delete the PF-Database you want to get rid off.

Cheers,

Chris