![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | 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 Specs![]() |
| | #3 (permalink) |
| | 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 Specs![]() |
| | #4 (permalink) |
| | 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 Specs![]() |
| | #5 (permalink) |
| | 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. 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 Specs![]() |
| | #6 (permalink) |
| | 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 Specs![]() |
![]() |
| 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 | |||