Solved

Creating Subfolder in Outlook from Exchange 2010 SP1

Posted on 2011-03-11
9
800 Views
Last Modified: 2012-05-11
Looking for a solution to create a Subfolder under User's folder in Outlook which should be visible for them. Want to do it from Exchange powershell. I was trying this down below and getting errors:

$mailboxes = Get-Mailbox -Server EX2KMBOX
$mailboxes | foreach { New-ManagedFolder -name $($_.Alias) -FolderName "$($_.Alias):\eBrochure" -StorageQuota '50Mb' -Comment 'Messages in this folder are retained for 2 Weeks' -MustDisplayComment $true }


And as I understand I'm totally wrong as it is creating set of custom managed folder which is not right.

Any advice on this?
0
Comment
Question by:aramagedon
  • 5
  • 4
9 Comments
 
LVL 49

Accepted Solution

by:
Akhater earned 500 total points
ID: 35113263
OK I see you got no answers so I will try to  help

1) we have to start by creating a managed folder just one not one per user so
 New-ManagedFolder -name eBrochure -FolderName "eBrochure" -StorageQuota '50Mb' -Comment 'Messages in this folder are retained for 2 Weeks' -MustDisplayComment $true

2) Create a managed folder policy

New-ManagedFolderMailboxPolicy -Name "eBrochureFolderPolicy" -ManagedFolderLinks 'eBrochure'


3) apply it to the users


Set-Mailbox -Identity youmailbox -ManagedFolderMailboxPolicy "CeBrochureFolderPolicy"

of course if this works you can

$mailboxes = Get-Mailbox -Server EX2KMBOX
$mailboxes | Set-Mailbox -ManagedFolderMailboxPolicy "CeBrochureFolderPolicy"
0
 

Author Comment

by:aramagedon
ID: 35113404
Tanks much! It works. But, I got one problem. I cannot apply Managed Folder Policy to the users with Archived Enabled. Is it any workaround?
0
 
LVL 49

Expert Comment

by:Akhater
ID: 35113420
honestly no idea :D can you give me the error so i can try to help
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

Author Comment

by:aramagedon
ID: 35113425
Mailbox 'Armen Minasyan' cannot be Archive enabled with Managed Folders Policy. Archives are supported only with Retent
ion Policy.
    + CategoryInfo          : NotSpecified: (Armen Minasyan:ADUser) [Set-Mailbox], RecipientTaskException
    + FullyQualifiedErrorId : 397C31E4,Microsoft.Exchange.Management.RecipientTasks.SetMailbox
0
 
LVL 49

Expert Comment

by:Akhater
ID: 35113460
well I guess not it clearly says it is not supported
0
 

Author Comment

by:aramagedon
ID: 35113466
Thanks for your help! You're saved my day!
0
 
LVL 49

Expert Comment

by:Akhater
ID: 35113487
glad I was able to help
0
 

Author Comment

by:aramagedon
ID: 35113863
BTW, instead of ManagedFolderMailboxPolicy I applied retention policy to it and enable archive. So, it is totally resolved - Thanks to Akhater.
0
 
LVL 49

Expert Comment

by:Akhater
ID: 35114814
great find! Tx for the update
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you unable to connect or configure Hotmail email account in Microsoft Outlook 2010, 2007? Or Outlook.com emails are not downloading to Outlook? Lets’ see the problem and resolve Outlook Connector error syncing folder hierarchy (0x8004102A).
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question