API Reference
Class
FsmoRoleChecker
Retrieves FSMO role holders and evaluates them against best practices.
Inheritance
- Object
- FsmoRoleChecker
Constructors
public FsmoRoleChecker(Func<String, IList<FsmoRoleHolder>> getRoleHolders = null) #Initializes a new instance of the class.
Parameters
- getRoleHolders System.Func{System.String,System.Collections.Generic.IList{ADPlayground.Domains.FsmoRoleHolder}} = null
- Delegate returning role holders.
Methods
public virtual IEnumerable<FsmoBestPracticeCheck> CheckBestPractices(String domainName = null) #Returns:
IEnumerable<FsmoBestPracticeCheck>Evaluates FSMO role placement best practices.
Parameters
- domainName System.String = null
- Domain name or null for current.
public virtual IList<FsmoRoleHolder> GetRoleHolders(String domainName = null) #Returns:
IList<FsmoRoleHolder>Gets FSMO role holders for a domain.
Parameters
- domainName System.String = null