API Reference
GpoTargetComputerContext
Minimal facts about a target computer used for evaluating GPO applicability (WMI/security filtering).
Inheritance
- Object
- GpoTargetComputerContext
Constructors
public GpoTargetComputerContext() #Inherited Methods
Properties
public String DomainName { get; set; } #DNS domain name.
public String ComputerDistinguishedName { get; set; } #Distinguished name of the target computer account (optional; used for principal SID lookup when available).
public String ComputerName { get; set; } #NetBIOS or FQDN of the target computer (optional; for display only).
public Boolean IsDomainController { get; set; } #True when this computer is a domain controller.
public Boolean IsPdcEmulator { get; set; } #True when this computer is the PDC emulator for its domain.
public Int32 DomainRole { get; set; } #Win32_ComputerSystem.DomainRole value. Typical: 5=PDC, 4=member DC, 2=member server, 1=workstation.
public IReadOnlyList<String> Sites { get; set; } #Optional AD site name(s) for the target computer.
public IReadOnlyList<String> TokenSids { get; set; } #Optional token SIDs representing the computer account and groups used for security filtering evaluation. When null, the applicability engine falls back to common principals (Authenticated Users, Domain Computers, Domain Controllers, Everyone).