API Reference
Class
GpoSysvolFileInventoryService
Produces per-GPO SYSVOL file inventory statistics (counts/sizes/extensions) for reporting and triage.
Inheritance
- Object
- GpoSysvolFileInventoryService
Methods
public static GpoSysvolFileInventoryRow Analyze(GpoListItem item, Int32 scanCap = 50000, Int32 maxExtensions = 10) #Returns:
GpoSysvolFileInventoryRowComputes inventory statistics for a single GPO list item.
Parameters
- item ADPlayground.Gpo.GpoListItem
- scanCap System.Int32 = 50000
- maxExtensions System.Int32 = 10
public static IReadOnlyList<GpoSysvolFileInventoryRow> GetInventory(String forestName = null, String domainFilter = null, IReadOnlyList<String> gpoNames = null, IReadOnlyList<Guid> gpoGuids = null, Int32 scanCapPerGpo = 50000, Int32 maxExtensions = 10) #Returns:
IReadOnlyList<GpoSysvolFileInventoryRow>Scans GPO SYSVOL folders and returns per-GPO inventory rows.
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.
- gpoNames System.Collections.Generic.IReadOnlyList{System.String} = null
- Optional display-name filters (supports * and ?).
- gpoGuids System.Collections.Generic.IReadOnlyList{System.Guid} = null
- Optional GUID filters.
- scanCapPerGpo System.Int32 = 50000
- Maximum number of filesystem entries to scan per GPO.
- maxExtensions System.Int32 = 10
- Maximum number of extensions to include in the summary.