Add the parameter "-Domaincontroller pri-dc-01.pri.xyz.com" to your enable-mailbox command.......
Joe Pochedley Network & Telecommunications Manager Fives North American Combustion, Inc. v: +1 216.206.5505 f: +1 216.641.7852 From: helpdesk UK [mailto:uk.helpd...@gmail.com] Sent: Thursday, July 26, 2012 2:42 AM To: MS-Exchange Admin Issues Subject: Re: Create mailbox Exchange 2010 - Power Shell I hope I am not accepting a response too quickly... But any comments will be appreciated.. On 25 July 2012 16:34, helpdesk UK <uk.helpd...@gmail.com<mailto:uk.helpd...@gmail.com>> wrote: Hello We are trying to run a power shell command line to create a mailbox and it fails with the error below. network xyz.com<http://xyz.com> = root of the forest ( Exchange installed ) pri.xyz.com<http://pri.xyz.com> - child domain ( Users ) abc-dc-01.xyz.com<http://abc-dc-01.xyz.com> - DC in the root of the forest. pri-dc-01.pri.xyz.com<http://pri-dc-01.pri.xyz.com> - dc in child domain. When we enable a use for a mailbox manually using the GUI it works fine. But if we use the same command as mentioned below and enable a mailbox it fails with the error below.. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- The operation couldn't be performed because object 'pri.xyz.com/PAS/Users/mugga<http://pri.xyz.com/PAS/Users/mugga>' couldn't be found on 'ABC-DC-01.xyz.com<http://ABC-DC-01.xyz.com>'. + CategoryInfo : NotSpecified: (0:Int32) [Enable-Mailbox], ManagementObjectNotFoundException + FullyQualifiedErrorId : C8486991,Microsoft.Exchange.Management.RecipientTasks.EnableMailbox Enable-Mailbox -Identity 'pri.xyz.com/PAS/Users/mugga<http://pri.xyz.com/PAS/Users/mugga>' -Alias 'mugga' -Database 'MBX1 DB' -------------------------------------------------------------------------------------------------------------------------------------------------------------- Can someone please help... It seems it is defaulting to the local domain and hence cannot find the user...So it seems that I need to add some more to the command so exchange would see the remote child domain for the use before it tries to enable the mailbox... Any help will be greatly apprecaited. cheers Joss --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com> with the body: unsubscribe exchangelist --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe exchangelist