The SMS_ADForest Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that contains Active Directory forests discovered by Configuration Manager Forest Discovery.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_ADForest : SMS_BaseClass
{
	String Account;
	String CreatedBy;
	DateTime CreatedOn;
	String Description;
	UInt32 DiscoveredADSites;
	UInt32 DiscoveredDomains;
	UInt32 DiscoveredIPSubnets;
	UInt32 DiscoveredTrusts;
	UInt32 DiscoveryStatus;
	Boolean EnableDiscovery;
	String ForestFQDN;
	UInt32 ForestID;
	String ModifiedBy;
	DateTime ModifiedOn;
	String PublishingPath;
	UInt32 PublishingStatus;
};

Methods

The following table lists the methods in the SMS_ADForest class.

Method Description

DeleteDiscoveryData Method in Class SMS_ADForest

Removes information gathered by the forest discovery process.

Properties

Account

Data type: StringAccess type: Read-only Qualifiers: [read]Account to discover the Active Directory forest.
CreatedBy

Data type: StringAccess type: Read/Write Qualifiers: noneUser that added the Active Directory forest.
CreatedOn

Data type: DateTimeAccess type: Read-only Qualifiers: [read]Date the Active Directory forest was added.
Description

Data type: StringAccess type: Read/Write Qualifiers: noneDescription of the Active Directory forest.
DiscoveredADSites

Data type: UInt32Access type: Read-only Qualifiers: [read]Count of discovered Active Directory sites.
DiscoveredDomains

Data type: UInt32Access type: Read-only Qualifiers: [read]Count of discovered Active Directory domains.
DiscoveredIPSubnets

Data type: UInt32Access type: Read-only Qualifiers: [read]Count of discovered Active Directory IP subnets.
DiscoveredTrusts

Data type: UInt32Access type: Read-only Qualifiers: [read]Count of discovered Active Directory trusts.
DiscoveryStatus

Data type: UInt32Access type: Read-only Qualifiers: [enumeration, read]Discovery status. Possible values are:

0

SUCCEEDED

1

COMPLETED

2

ACCESS_DENIED

3

FAILED

4

STOPPED

EnableDiscovery

Data type: BooleanAccess type: Read/Write Qualifiers: nonetrue if Active Directory forest discovery is enabled.
ForestFQDN

Data type: StringAccess type: Read/Write Qualifiers: noneFQDN of the Active Directory forest.
ForestID

Data type: UInt32Access type: Read-only Qualifiers: [key, read]Identifier of the Active Directory forest.
ModifiedBy

Data type: StringAccess type: Read/Write Qualifiers: noneUser that last modified the Active Directory Forest.
ModifiedOn

Data type: DateTimeAccess type: Read-only Qualifiers: [read]Date the Active Directory Forest was last modified.
PublishingPath

Data type: StringAccess type: Read/Write Qualifiers: noneAlternate publishing path.
PublishingStatus

Data type: UInt32Access type: Read-only Qualifiers: [enumeration, read]Publishing status. Possible values are:

0

UNKNOWN

1

SUCCEEDED

2

FAILED

Remarks

Requirements

Runtime Requirements

Development Requirements

See Also