Nice Easy AD PS question :P

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


And i just found the -Server command :slight_smile: