Nice Easy AD PS question :P

This topic contains 1 reply, has 1 voice, and was last updated by Profile photo of Mark Prior Mark Prior 2 weeks, 1 day ago.

  • Author
    Posts
  • #72361
    Profile photo of Mark Prior
    Mark Prior
    Participant

    ok a scenario

    i have created and app that creates shared mailboxes, it does this by connecting to an exchange server not in my ADsite (my local AD controller is in Newcastle and exchange servers in London) so far so good.. however to provide access to incoming outgoing mails we use security groups, fine i will use the 'Add-adgroupmember' at the end of creating the MB, oh im in a different site and replication has not happend yet.

    so question is how in powershell would i do the equivelent of change domain controller in ADUAC? i realise i could use invoke but would prefer something cleaner

    Thanks

  • #72364
    Profile photo of Mark Prior
    Mark Prior
    Participant

    And i just found the -Server command 🙂

You must be logged in to reply to this topic.