Solved

Creating Subfolder in Outlook from Exchange 2010 SP1

Posted on 2011-03-11
9
797 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
Comment Utility
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
Comment Utility
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
Comment Utility
honestly no idea :D can you give me the error so i can try to help
0
 

Author Comment

by:aramagedon
Comment Utility
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 49

Expert Comment

by:Akhater
Comment Utility
well I guess not it clearly says it is not supported
0
 

Author Comment

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

Expert Comment

by:Akhater
Comment Utility
glad I was able to help
0
 

Author Comment

by:aramagedon
Comment Utility
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
Comment Utility
great find! Tx for the update
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Sometimes Outlook might have problems sending a message. There may be various causes- corrupted PST, AV scanner etc. The message, instead of going to the Sent Items folder, sits in the Outbox indefinitely. To remove it you can use a free tool cal…
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
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 Accepted Domain 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 >> Ac…

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now