How can I find out if users have subfolders under their inbox
HI, A client has asked me to find out if users have subfolders under their inbox and for me to prevent them from creating subfolders under their own inbox. Is there a utility that can list all users subfolders? Is there a setting somewhere so I can stop a user from creating subfolders? Regards John
August 12th, 2011 1:37am

Hi JSHARVEY I dont know how to prevent it, but perhaps this may help you. If you using Exchange 2010, you can simply open the Exchange Shell and use this commands: Get-MailBoxFolderStatistics [MailboxName/SamAccountName/ other user IDs] | Select-Object 'Name' if you wannt to see how many folders you can do it like this: $MailBoxFolders = Get-MailBoxFolderStatistics [MailboxName/SamAccountName/ other user IDs] $MailBoxFolders.count [ Im swiss. I'm sorry for my bad english writing ]
Free Windows Admin Tool Kit Click here and download it now
August 12th, 2011 4:48am

Hi, its me again. what ive found... is you can add and remove specific folderpermissions on every folder. Like you cann add on the Users Mailbox the Accessrights 'Editor' who cant create Subfolders. or even 'None'. I tried it by my self, but it didnt worked out yet. But i hope it will help you a bit. :) Get-MailBoxFolderPermission http://technet.microsoft.com/de-de/library/dd335061.aspx Add-MailboxFolderPermission http://technet.microsoft.com/en-us/library/dd298062.aspx Remove-MailBoxFolderPermission http://technet.microsoft.com/en-us/library/dd351181.aspx [ Im swiss. I'm sorry for my bad english writing ]
August 12th, 2011 5:12am

Hi all! For decrease amount of items in output this cmdlet, you can restrict folder scope and select object by folder type. Any user-created folders has FolderType=UserCreated in distinction from default folders, that has FolderType=FolderName. In this way you can modify PS-script, posted above: (Get-MailboxFolderStatistics -Identity <Mailbox GUID> -FolderScope Inbox | Where {$_.FolderType -eq UserCreated}).count For restrict users from creating subfolders you can remove permission for create subfolders (Remove-MailboxFolderPermissions -Identity <MailboxFolderID> -User <UserID> -AccessRigths "CreateSubfolders") Please sorry for my English, this is not my native language :)MVP Exchange Server from Russia http://okrylov.wordpress.com
Free Windows Admin Tool Kit Click here and download it now
August 12th, 2011 6:07am

What would the purpose be of restricting users from creating folders in their own mailbox? To me this sounds like a bad idea. lasse at humandata dot se, http://anewmessagehasarrived.blogspot.com
August 13th, 2011 5:38am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics