Problems with Get-MailboxFolder powershell cmd-let

I want to be able to make a subfolder in a users Contacts and/or Calendar folder.

I should be able to do this with new-mailboxfolder cmd-let, and it work's, though only with the user which runs the Powershell cmd.

so if i'm logged on as administrator I can make subfolder to the Administrator mailbox, but not to anyone else.

I have tried piping with: Get-Mailbox -Identify #USERNAME# | Get-MailboxFolder

But that doesn't work either.

I'm still a bit new with Powershell, but I think that I should be able to do this.

Why doesn't it work then?!?

November 4th, 2013 7:09am

Hi,

Viele Grsse Georg is right, you can create subfolder only if you have full access to targeted mailbox.

In addition, we can utilize a GUI tool called Exfolders to open the targeted mailbox and create subfolders. For more resource:

http://gallery.technet.microsoft.com/office/Exchange-2010-SP1-ExFolders-e6bfd405

Regards,

Rebecca

Free Windows Admin Tool Kit Click here and download it now
November 5th, 2013 2:14am

I have tried the Exfolder tool, but can't create a subfolder and it informs me that it doesn't have FullAccess.

I'm logged on as Administrator(Domain Admin) and it doesn't have FullAccess to all mailbox.

It's not me who have installed and configured the Exchange 2010, so I'm not sure why Admin doesn't have FullAccess to all mailboxs.

November 5th, 2013 3:17am

I have tried the code you showed, but it doesn't work for me.

I modified it to only show the top most level for each user and it replies with:

The specified mailbox "DAH" doesn't exist.
    + CategoryInfo          : NotSpecified: (0:Int32) [Get-MailboxFolder], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : E9FC4C9,Microsoft.Exchange.Management.StoreTasks.GetMailboxFolder

The code I use is:

$Database = "DB01"
$mailboxes = Get-Mailbox -Database $Database
foreach ($mailbox in $mailboxes) {Get-MailboxFolder -Identity $mailbox.SacountName}

Free Windows Admin Tool Kit Click here and download it now
November 5th, 2013 3:30am

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

Other recent topics Other recent topics