Solved

Creating Subfolder in Outlook from Exchange 2010 SP1

Posted on 2011-03-11
9
806 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
This article describes how to import Lotus Notes Contacts into Outlook 2016, 2013, 2010 and 2007 etc. with a few manual steps. You can easily export and migrate Lotus Notes contacts into Microsoft Outlook without having to use any third party tools.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

636 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