Repadmin will identify all DCs that host a
particular naming context (or in forest, or site, or….etc.). That said,
there are a couple of caveats here: 1) a non-DC could be using FRS (say for an FRS replica set behind DFS) 2) a DC could host more than one replica set (SYSVOL, of course, and
one (or more) for DFS) I would suggest identifying machines (not
I said machines and not DCs….could be non-DCs) by looking in cn=file
replication service,cn=system within a particular domain. That will then have a
container for each replica set and you can identify machines that participate
in that replica set from looking in that container. If, however, you are only interested in
SYSVOL, then it is safe to assume that all DCs in a particular domain replicate
SYSVOL for that domain. In terms of turning the service on and off
remotely, I would think WMI is the best way to go, but I’m not a scripting
guru so maybe others know a better way. I think there are scripts up in KB that
help with this in the context of performing a global D2 of all DCs except one
you D4. I would look there….I think some of it is canned for you already. ~Eric From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Durairaj K. Avasi AD Gurus:: I hope all had very good
weekend.. Here is my requirement where I stuck and I need your hand on this In short: This is what I want: Script 1: identify the servers (Domain Controllers)
using File Replication service (FRS). Script 2: Disable these found in Script 1. (When I
say disable, I just meant to say FRS service on these servers) Script 3: Enable these found in Script 1. (When I
say enable, I just meant to say FRS service on these servers) The following is the detail
of what I found… ============================================= How to identify the servers
(Domain Controllers) using File Replication service (FRS)? I found the “repadmin
/replsum” in Active Directory cookbook. However I need the same output in
a txt file just servernames (Note – not the status) and how to disable and enable the FRS service on the
above identified servers? I thought of using cscript service.vbs /X /N ntfrs
/S __SERVERNAME /U avasi /W password /O c:\temp.txt … I don’t know
how this is going to workout. Thanks in advance. Durairaj K. Avasi |
- [ActiveDir] how to identify the servers (Domain Contro... Durairaj K. Avasi
- RE: [ActiveDir] how to identify the servers (Doma... Eric Fleischman
- RE: [ActiveDir] how to identify the servers (Doma... Grillenmeier, Guido
- RE: [ActiveDir] how to identify the servers (... Durairaj K. Avasi