Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - Exchange 2007 cmdlets adn AD replication

Reply
 
Old 02-08-2008   #1 (permalink)
RD


 
 

Exchange 2007 cmdlets adn AD replication

I was wondering if Exchange 2007 cmdlets like set-mailbox,
set-mailboxdatabse, etc, which writes to AD, initiates any AD repliction
within or outside the local site? If not, how one would know which AD is
being updated?
One of the properties that get displayed with Get-ExchangeServer cmdlet is
the "CurrentConfigDomainController". I was wondering if this the DC that get
used whenever we run cmdlets. Is this a singleton value or array.

Any cmdlets to initiate AD replication?

Thanks.

My System SpecsSystem Spec
Old 02-09-2008   #2 (permalink)
RichS


 
 

RE: Exchange 2007 cmdlets adn AD replication

As I understand it - CurrentConfigDomainController is the DC that the
Exchange server will query when it needs to access AD. It should be
configured to be in the same site as the Exchnage server. When you make a
change via set-mailbox etc the data will be written back to AD. It doesn't
matter which DC really as AD replication will move that information to all
other DCs. The DCs in the same site as the Exchange server will be updated
almost immediately - other sites will depend on the replication schedule.

You cannot control AD replication through the Exchnage cmdlets
--
Richard Siddaway
Please note that all scripts are supplied "as is" and with no warranty
Blog: http://richardsiddaway.spaces.live.com/
PowerShell User Group: http://www.get-psuguk.org.uk


"RD" wrote:
Quote:

> I was wondering if Exchange 2007 cmdlets like set-mailbox,
> set-mailboxdatabse, etc, which writes to AD, initiates any AD repliction
> within or outside the local site? If not, how one would know which AD is
> being updated?
> One of the properties that get displayed with Get-ExchangeServer cmdlet is
> the "CurrentConfigDomainController". I was wondering if this the DC that get
> used whenever we run cmdlets. Is this a singleton value or array.
>
> Any cmdlets to initiate AD replication?
>
> Thanks.
My System SpecsSystem Spec
Old 02-10-2008   #3 (permalink)
RD


 
 

RE: Exchange 2007 cmdlets adn AD replication

If there are two AD DCs in same site as Exchange server which DC is updated
by such Exchange cmdlets. It is ALWAYS the DC that is referred by
"CurrentConfigDomainController" value.

RD
"RichS" wrote:
Quote:

> As I understand it - CurrentConfigDomainController is the DC that the
> Exchange server will query when it needs to access AD. It should be
> configured to be in the same site as the Exchnage server. When you make a
> change via set-mailbox etc the data will be written back to AD. It doesn't
> matter which DC really as AD replication will move that information to all
> other DCs. The DCs in the same site as the Exchange server will be updated
> almost immediately - other sites will depend on the replication schedule.
>
> You cannot control AD replication through the Exchnage cmdlets
> --
> Richard Siddaway
> Please note that all scripts are supplied "as is" and with no warranty
> Blog: http://richardsiddaway.spaces.live.com/
> PowerShell User Group: http://www.get-psuguk.org.uk
>
>
> "RD" wrote:
>
Quote:

> > I was wondering if Exchange 2007 cmdlets like set-mailbox,
> > set-mailboxdatabse, etc, which writes to AD, initiates any AD repliction
> > within or outside the local site? If not, how one would know which AD is
> > being updated?
> > One of the properties that get displayed with Get-ExchangeServer cmdlet is
> > the "CurrentConfigDomainController". I was wondering if this the DC that get
> > used whenever we run cmdlets. Is this a singleton value or array.
> >
> > Any cmdlets to initiate AD replication?
> >
> > Thanks.
My System SpecsSystem Spec
Old 02-11-2008   #4 (permalink)
RichS


 
 

RE: Exchange 2007 cmdlets adn AD replication

As far as I know yes - - but remember that replication within a site is very
quick - a few seconds by default so all DCs in the site will be updated
almost immediately.

Just out of curiosity why the concern about which DC is being updated?
--
Richard Siddaway
Please note that all scripts are supplied "as is" and with no warranty
Blog: http://richardsiddaway.spaces.live.com/
PowerShell User Group: http://www.get-psuguk.org.uk


"RD" wrote:
Quote:

> If there are two AD DCs in same site as Exchange server which DC is updated
> by such Exchange cmdlets. It is ALWAYS the DC that is referred by
> "CurrentConfigDomainController" value.
>
> RD
> "RichS" wrote:
>
Quote:

> > As I understand it - CurrentConfigDomainController is the DC that the
> > Exchange server will query when it needs to access AD. It should be
> > configured to be in the same site as the Exchnage server. When you make a
> > change via set-mailbox etc the data will be written back to AD. It doesn't
> > matter which DC really as AD replication will move that information to all
> > other DCs. The DCs in the same site as the Exchange server will be updated
> > almost immediately - other sites will depend on the replication schedule.
> >
> > You cannot control AD replication through the Exchnage cmdlets
> > --
> > Richard Siddaway
> > Please note that all scripts are supplied "as is" and with no warranty
> > Blog: http://richardsiddaway.spaces.live.com/
> > PowerShell User Group: http://www.get-psuguk.org.uk
> >
> >
> > "RD" wrote:
> >
Quote:

> > > I was wondering if Exchange 2007 cmdlets like set-mailbox,
> > > set-mailboxdatabse, etc, which writes to AD, initiates any AD repliction
> > > within or outside the local site? If not, how one would know which AD is
> > > being updated?
> > > One of the properties that get displayed with Get-ExchangeServer cmdlet is
> > > the "CurrentConfigDomainController". I was wondering if this the DC that get
> > > used whenever we run cmdlets. Is this a singleton value or array.
> > >
> > > Any cmdlets to initiate AD replication?
> > >
> > > Thanks.
My System SpecsSystem Spec
Old 02-11-2008   #5 (permalink)
kelly goff


 
 

Re: Exchange 2007 cmdlets adn AD replication

RD wrote:
Quote:

> I was wondering if Exchange 2007 cmdlets like set-mailbox,
> set-mailboxdatabse, etc, which writes to AD, initiates any AD repliction
> within or outside the local site? If not, how one would know which AD is
> being updated?
> One of the properties that get displayed with Get-ExchangeServer cmdlet is
> the "CurrentConfigDomainController". I was wondering if this the DC that get
> used whenever we run cmdlets. Is this a singleton value or array.
>
> Any cmdlets to initiate AD replication?
>
> Thanks.
No, exchange cmdlets do not generally initiate any replication. Changing
the password will I think but I haven't tested it to be certain. I have
some code which does quite a bit of manipulation via cmdlets and had
problems until I forced all the interaction to happen on the same domain
controller.

You can force replication but you won't make any friends of your AD
administrators. I don't remember how off the top of my head if it was a
powershell cmdlet or low level code.

Kelly
My System SpecsSystem Spec
Old 02-11-2008   #6 (permalink)
RichS


 
 

Re: Exchange 2007 cmdlets adn AD replication

Any change to AD will trigger replication but it is a function of AD not the
script or cmdlet causing the change. Replication is an inherent feature of AD

As far as I know there isn't a cmdlet to force replication. It can be
scripted
--
Richard Siddaway
Please note that all scripts are supplied "as is" and with no warranty
Blog: http://richardsiddaway.spaces.live.com/
PowerShell User Group: http://www.get-psuguk.org.uk


"kelly goff" wrote:
Quote:

> RD wrote:
Quote:

> > I was wondering if Exchange 2007 cmdlets like set-mailbox,
> > set-mailboxdatabse, etc, which writes to AD, initiates any AD repliction
> > within or outside the local site? If not, how one would know which AD is
> > being updated?
> > One of the properties that get displayed with Get-ExchangeServer cmdlet is
> > the "CurrentConfigDomainController". I was wondering if this the DC that get
> > used whenever we run cmdlets. Is this a singleton value or array.
> >
> > Any cmdlets to initiate AD replication?
> >
> > Thanks.
>
> No, exchange cmdlets do not generally initiate any replication. Changing
> the password will I think but I haven't tested it to be certain. I have
> some code which does quite a bit of manipulation via cmdlets and had
> problems until I forced all the interaction to happen on the same domain
> controller.
>
> You can force replication but you won't make any friends of your AD
> administrators. I don't remember how off the top of my head if it was a
> powershell cmdlet or low level code.
>
> Kelly
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
ExMerge and PowerShell with Exchange Management Shell cmdlets PowerShell
Exchange cmdlets PowerShell
Set-mailbox like powershell cmdlets with the Exchange 2003 Server PowerShell
Question about Exchange Management Console and Exchange cmdlets PowerShell
Exchange Cluster cmdlets ? PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46