Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Fri, 8 Feb 2008 14:47:00 -0800,    group: microsoft.public.exchange.development        back       


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.
date: Fri, 8 Feb 2008 14:47:00 -0800   author:   RD

Re: Exchange 2007 cmdlets adn AD replication   
While Windows PowerShell does work with a lot of Windows components, and 
Exchange Management Shell built on top of it "powershell-enables" Exchange, 
Active Directory itself isn't really AD-enabled.

Any changed attributes get replicated using the normal AD replication 
mechanism and schedules - intra-Site and inter-Site. Not something you 
particularly worry about, and neither something (depending on nature of 
change) you would want to trigger replication manually. If you want a 
particular DC to get the info first, you can target most EMS commands 
against a particular DC.

-- 
Bharat Suneja
MVP - Exchange
www.zenprise.com
NEW blog location:
exchangepedia.com/blog
----------------------------



"RD"  wrote in message 
news:396E6406-BD69-46EC-9B5B-07BBDFB87A13@microsoft.com...
>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.
date: Fri, 8 Feb 2008 19:04:19 -0800   author:   Bharat Suneja [MVP]

Re: Exchange 2007 cmdlets adn AD replication   
>>Active Directory itself isn't really AD-enabled.

That doesn't make any sense... this should be "AD itself isn't really 
PS-enabled".

-- 
Bharat Suneja
MVP - Exchange
www.zenprise.com
NEW blog location:
exchangepedia.com/blog
----------------------------



"Bharat Suneja [MVP]"  wrote in message 
news:ubSdGisaIHA.6024@TK2MSFTNGP06.phx.gbl...
> While Windows PowerShell does work with a lot of Windows components, and 
> Exchange Management Shell built on top of it "powershell-enables" 
> Exchange, Active Directory itself isn't really AD-enabled.
>
> Any changed attributes get replicated using the normal AD replication 
> mechanism and schedules - intra-Site and inter-Site. Not something you 
> particularly worry about, and neither something (depending on nature of 
> change) you would want to trigger replication manually. If you want a 
> particular DC to get the info first, you can target most EMS commands 
> against a particular DC.
>
> -- 
> Bharat Suneja
> MVP - Exchange
> www.zenprise.com
> NEW blog location:
> exchangepedia.com/blog
> ----------------------------
>
>
>
> "RD"  wrote in message 
> news:396E6406-BD69-46EC-9B5B-07BBDFB87A13@microsoft.com...
>>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.
>
date: Sat, 9 Feb 2008 01:28:37 -0800   author:   Bharat Suneja [MVP]

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:

> 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.
date: Sat, 9 Feb 2008 06:11:01 -0800   author:   RichS

Re: Exchange 2007 cmdlets adn AD replication   
"Bharat Suneja [MVP]"  wrote:

>>>Active Directory itself isn't really AD-enabled.
>
>That doesn't make any sense... this should be "AD itself isn't really 
>PS-enabled".

For a moment, there, I thought I heard the theme from "The Twilight
Zone" in the background! :-P

-- 
Rich Matheisen
MCSE+I, Exchange MVP
MS Exchange FAQ at http://www.swinc.com/resource/exch_faq.htm
Don't send mail to this address mailto:h.pott@getronics.com
Or to these, either: mailto:h.pott@pinkroccade.com mailto:melvin.mcphucknuckle@getronics.com mailto:melvin.mcphucknuckle@pinkroccade.com
date: Sat, 09 Feb 2008 11:07:21 -0500   author:   Rich Matheisen [MVP]

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:

> 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:
> 
> > 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.
date: Sun, 10 Feb 2008 12:20:00 -0800   author:   RD

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:

> 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:
> 
> > 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:
> > 
> > > 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.
date: Mon, 11 Feb 2008 00:21:00 -0800   author:   RichS

Re: Exchange 2007 cmdlets adn AD replication   
RD wrote:
> 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
date: Mon, 11 Feb 2008 09:59:40 -0600   author:   kelly goff

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:

> RD wrote:
> > 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
>
date: Mon, 11 Feb 2008 13:33:21 -0800   author:   RichS

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us