API Reference
Class
SoftwareInstallationReader
Reader for Group Policy Software Installation (GPSI) package registrations stored in AD under CN=Machine/User,CN=Class Store,CN=Packages within the GPO container.
Inheritance
- Object
- SoftwareInstallationReader
Methods
public static IReadOnlyList<SoftwareInstallationPackage> Read(String gpoDomainName, String gpoDistinguishedName, Guid gpoId) #Returns:
IReadOnlyList<SoftwareInstallationPackage>Attempts to read Software Installation packages from AD for the given GPO.
Parameters
- gpoDomainName System.String
- Owning DNS domain.
- gpoDistinguishedName System.String
- GPO distinguishedName (CN={GUID},CN=Policies,CN=System,...).
- gpoId System.Guid
- GPO GUID.
Returns
List of packages (both Computer and User scopes).