API Reference
Class
SupportEvaluator
Evaluation of ADMX SupportedOn definitions against a target OS. Attempts precise logic (AnyOf/AllOf over referenced products). Falls back to caption heuristics when definitions lack entries.
Inheritance
- Object
- SupportEvaluator
Methods
public static PolicySupportResult Evaluate(AdmxDocument doc, PolicyDefinition policy, String computerName) #Returns:
PolicySupportResultProduces a typed result for SupportedOn evaluation so callers don’t build PSObjects.
Parameters
- doc ADPlayground.Gpo.GpoLocal.AdmxDocument
- policy ADPlayground.Gpo.GpoLocal.PolicyDefinition
- computerName System.String
HasProductVersionInRange(ADPlayground.Gpo.GpoLocal.AdmxDocument arg1, System.String arg2, System.Nullable{System.Int32} arg3, System.Nullable{System.Int32} arg4, System.String arg5) #Returns true when any major version in range [min,max] is present for the given root product.
Parameters
- arg1 ADPlayground.Gpo.GpoLocal.AdmxDocument
- arg2 System.String
- arg3 System.Nullable{System.Int32}
- arg4 System.Nullable{System.Int32}
- arg5 System.String
public static Nullable<Boolean> IsSupportedOn(AdmxDocument doc, PolicyDefinition policy, String computerName, out String supportDisplay, out String osCaption) #Returns:
Nullable<Boolean>Returns whether a policy appears supported on the target OS based on "SupportedOn" definition text. Emits best-effort result; returns null when evaluation is inconclusive.
Parameters
- doc ADPlayground.Gpo.GpoLocal.AdmxDocument
- policy ADPlayground.Gpo.GpoLocal.PolicyDefinition
- computerName System.String
- supportDisplay System.String@
- osCaption System.String@