EnforceLink Enumeration

 

Specifies whether the link between a Group Policy object (GPO) and a site, domain, or organizational unit (OU) is enforced.

Namespace:   Microsoft.GroupPolicy
Assembly:  Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)

Syntax

public enum EnforceLink
public enum class EnforceLink
type EnforceLink
Public Enumeration EnforceLink

Members

Member name Description
No

The GPO link is not enforced.

Unspecified

The enabled status of the link is not specified. When this value is passed to a method, the status of the link (enforced or not enforced) is not changed.

Yes

The GPO link is enforced.

Remarks

The EnforceLink.Unspecified value is passed when the Set-GPLink cmdlet is called without passing "yes" or "no" for the Enabled parameter.

See Also

EnableLink
Microsoft.GroupPolicy Namespace

Return to top