![]() |
|
|||||||
| Notices |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member (25+)
Join Date: Jan 2009
Posts: 48
Thanks: 13
Thanked 0 Times in 0 Posts
Rep Power: 0
![]() OS:
|
Exchange 2007- Invoke method Exception while executing Enable-MailUser Command.
Hi,
I am trying to add NewUser entry in Exchange. I have written a code to execute command Enable-MailUser. I have set all commands parameter as Identity, ExternalMail. But it is giving me exception when I execiute Invoke method on pipeline. The exception is : System.Management.Automation.CmdletInvocationExcep tion: Method not found: 'System.String Microsoft.Exchange.Configuration.Tasks.RecipientOb jectActionTask`2.get_RusServer()'. ---> System.MissingMethodException: Method not found: 'System.String Microsoft.Exchange.Configuration.Tasks.RecipientOb jectActionTask`2.get_RusServer()'. at Microsoft.Exchange.Management.RecipientTasks.Enabl eRecipientObjectTask`2.get_UseRusServer() at Microsoft.Exchange.Management.RecipientTasks.Enabl eRecipientObjectTask`2.PrepareDataObject() at Microsoft.Exchange.Configuration.Tasks.SetTaskBase `1.InternalValidate() at Microsoft.Exchange.Configuration.Tasks.ObjectActio nTask`2.InternalValidate() at Microsoft.Exchange.Configuration.Tasks.RecipientOb jectActionTask`2.InternalValidate() at Microsoft.Exchange.Configuration.Tasks.Task.Proces sRecord() at System.Management.Automation.Cmdlet.DoProcessRecor d() at System.Management.Automation.CommandProcessor.Proc essRecord() --- End of inner exception stack trace --- at System.Management.Automation.Internal.PipelineProc essor.Synchronou***ecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate) at System.Management.Automation.Internal.PipelineProc essor.Execute(Array input) at System.Management.Automation.Runspaces.LocalPipeli ne.InvokeHelper() at System.Management.Automation.Runspaces.LocalPipeli ne.InvokeThreadProc() Can you please suggest me the way to proceed? |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
< Windows Help - MS Office Help - Hardware Support >
| New To Site? | Need Help? |