Link to home
Start Free TrialLog in
Avatar of TSAdmin8
TSAdmin8

asked on

Importing Calendars into accounts per DB in Exchange 2010 using ExFolders

Hi,

I was following this article:  http://blogs.technet.com/b/manjubn/archive/2012/01/14/holiday-calendar-and-how-import-to-mailboxes.aspx  to try to import holidays into all of my user accounts in Exchange 2010.  I was able to create a new calendar, add the holidays observed by my company, export it and it worked fine.  Then I used Exfolders to export Calendar folder permissions in order to preserve them since the importing may modify some settings.  That also worked great!  However, when I try to import the holiday calendar to mailboxes on specific databases, the command:    
 Get-Mailbox -Database "DB1" | New-MailboxImportRequest -Mailbox "User13" -FilePath \\server\PSTFileShare\HolidayCalendar2014.pst does not work.  I get the following error:

The input object cannot be bound to any parameters for the command either because the command does not take pipeline in
 put or the input and its properties do not match any of the parameters that take pipeline input.
     + CategoryInfo          : InvalidArgument: (User1:PSObject) [New-MailboxImportRequest], ParameterBinding
    Exception
     + FullyQualifiedErrorId : InputObjectNotBound,New-MailboxImportRequest

The input object cannot be bound to any parameters for the command either because the command does not take pipeline in
 put or the input and its properties do not match any of the parameters that take pipeline input.
     + CategoryInfo          : InvalidArgument: (User2:PSObject) [New-MailboxImportRequest], ParameterBindingEx
    ception
     + FullyQualifiedErrorId : InputObjectNotBound,New-MailboxImportRequest

The input object cannot be bound to any parameters for the command either because the command does not take pipeline in
 put or the input and its properties do not match any of the parameters that take pipeline input.
     + CategoryInfo          : InvalidArgument: (User3:PSObject) [New-MailboxImportRequest], ParameterBi
    ndingException
     + FullyQualifiedErrorId : InputObjectNotBound,New-MailboxImportRequest

The input object cannot be bound to any parameters for the command either because the command does not take pipeline in
 put or the input and its properties do not match any of the parameters that take pipeline input.
     + CategoryInfo          : InvalidArgument: (User4:PSObject) [New-MailboxImportRequest], ParameterBindingException
     + FullyQualifiedErrorId : InputObjectNotBound,New-MailboxImportRequest

The input object cannot be bound to any parameters for the command either because the command does not take pipeline in
 put or the input and its properties do not match any of the parameters that take pipeline input.
     + CategoryInfo          : InvalidArgument: (User5:PSObject) [New-MailboxImportRequest], ParameterBindingExc
    eption
     + FullyQualifiedErrorId : InputObjectNotBound,New-MailboxImportRequest

The input object cannot be bound to any parameters for the command either because the command does not take pipeline in
 put or the input and its properties do not match any of the parameters that take pipeline input.
     + CategoryInfo          : InvalidArgument: (User6:PSObject) [New-MailboxImportRequest], ParameterBindingExcep
    tion
     + FullyQualifiedErrorId : InputObjectNotBound,New-MailboxImportRequest

The input object cannot be bound to any parameters for the command either because the command does not take pipeline in
 put or the input and its properties do not match any of the parameters that take pipeline input.
     + CategoryInfo          : InvalidArgument: (User7:PSObject) [New-MailboxImportRequest], ParameterBindingEx
    ception
     + FullyQualifiedErrorId : InputObjectNotBound,New-MailboxImportRequest

The input object cannot be bound to any parameters for the command either because the command does not take pipeline in
 put or the input and its properties do not match any of the parameters that take pipeline input.
     + CategoryInfo          : InvalidArgument: (User8:PSObject) [New-MailboxImportRequest], ParameterBindingExcept
    ion
     + FullyQualifiedErrorId : InputObjectNotBound,New-MailboxImportRequest

The input object cannot be bound to any parameters for the command either because the command does not take pipeline in
 put or the input and its properties do not match any of the parameters that take pipeline input.
     + CategoryInfo          : InvalidArgument: (User9:PSObject) [New-MailboxImportRequest], ParameterBindingExcep
    tion
     + FullyQualifiedErrorId : InputObjectNotBound,New-MailboxImportRequest

The input object cannot be bound to any parameters for the command either because the command does not take pipeline in
 put or the input and its properties do not match any of the parameters that take pipeline input.
     + CategoryInfo          : InvalidArgument: (Test User:PSObject) [New-MailboxImportRequest], ParameterBindingExcept
    ion
     + FullyQualifiedErrorId : InputObjectNotBound,New-MailboxImportRequest

The input object cannot be bound to any parameters for the command either because the command does not take pipeline in
 put or the input and its properties do not match any of the parameters that take pipeline input.
     + CategoryInfo          : InvalidArgument: (User11:PSObject) [New-MailboxImportRequest], ParameterBindingE
    xception
     + FullyQualifiedErrorId : InputObjectNotBound,New-MailboxImportRequest

The input object cannot be bound to any parameters for the command either because the command does not take pipeline in
 put or the input and its properties do not match any of the parameters that take pipeline input.
     + CategoryInfo          : InvalidArgument: (User12:PSObject) [New-MailboxImportRequest], Parameter
    BindingException
     + FullyQualifiedErrorId : InputObjectNotBound,New-MailboxImportRequest

The input object cannot be bound to any parameters for the command either because the command does not take pipeline in
 put or the input and its properties do not match any of the parameters that take pipeline input.
     + CategoryInfo          : InvalidArgument: (User13:PSObject) [New-MailboxImportRequest], ParameterBinding
    Exception
     + FullyQualifiedErrorId : InputObjectNotBound,New-MailboxImportRequest

The input object cannot be bound to any parameters for the command either because the command does not take pipeline in
 put or the input and its properties do not match any of the parameters that take pipeline input.
     + CategoryInfo          : InvalidArgument: (User14:PSObject) [New-MailboxImportRequest], Parameter
    BindingException
     + FullyQualifiedErrorId : InputObjectNotBound,New-MailboxImportRequest

Is there a way to sort it out so that I can do this bulk operation?

Thanks,

Allie
ASKER CERTIFIED SOLUTION
Avatar of Ciprian Lozonschi
Ciprian Lozonschi
Flag of Czechia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of TSAdmin8
TSAdmin8

ASKER

Hi, thanks for the reply.  Yes, that worked!