API Reference
Class
GpoListService
Lists GPOs across a domain or forest and computes link state across domains and sites.
Inheritance
- Object
- GpoListService
Methods
public static IEnumerable<GpoListItem> GetList(String forestName = null, String domainFilter = null) #Returns:
IEnumerable<GpoListItem>Enumerates GPOs across a forest or a single domain and computes link state.
Parameters
- forestName System.String = null
- Optional forest DNS name; when null, uses current forest.
- domainFilter System.String = null
- Optional domain DNS name to limit results.
Returns
Sequence of GPO list items.