Name: DS-Ex-IsDcRO.vbs
Version: 01.00.00vbs
Description: Example VB Script code that illustrates one (interactive) way of ascertaining whether or not a given domain controller is an RODC (read only domain controller).
This script connects to the DC that you pass (the example script doesn't bother to illustrate grabbing the input and simply hard codes two values) and, using the supportedCapabilities RootDSE attribute determines whether or not the DC is an RODC.
There are other ways of doing this, e.g. the constructed attribute ms-ds-isrodc, this is just one example. |
|
Read more...
|