Solved

Creating Subfolder in Outlook from Exchange 2010 SP1

Posted on 2011-03-11
9
805 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 

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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

734 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