Skip to content

Latest commit

 

History

History
138 lines (112 loc) · 3.08 KB

AddsProtectFromAccidentalDeletion.adoc

File metadata and controls

138 lines (112 loc) · 3.08 KB

DSC Resource 'AddsProtectFromAccidentalDeletion'

AddsProtectFromAccidentalDeletion prevents AD objects from being deleted.

Source

DSC Resource

N/A

Documentation

Note

When the attribute ProtectXXXX is set to True, you cannot delete a corresponding object without changing the value of the property ProtectedFromAccidentalDeletion.

Table 1. Attributes of category 'AddsProtectFromAccidentalDeletion'
Parameter Attribute DataType Description Allowed Values

ProtectDomain

Boolean

Specifies whether to prevent the ADDomain object from being deleted.

  • True

  • False (default)

ProtectOrgUnit

Boolean

Specifies whether to prevent the ADOrganizationalUnit objects from being deleted.

  • True

  • False (default)

FilterOrgUnit

String

Specifies a query string that retrieves ADOrganizationalUnit objects.

Default: *

ProtectUser

Boolean

Specifies whether to prevent the ADUser objects from being deleted.

  • True

  • False (default)

FilterUser

String

Specifies a query string that retrieves ADUser objects.

Default: *

ProtectGroup

Boolean

Specifies whether to prevent the ADGroup objects from being deleted.

  • True

  • False (default)

FilterGroup

String

Specifies a query string that retrieves ADGroup objects.

Default: *

ProtectComputer

Boolean

Specifies whether to prevent the ADComputer objects from being deleted.

  • True

  • False (default)

FilterComputer

String

Specifies a query string that retrieves ADComputer objects.

Default: *

ProtectFineGrainedPasswordPolicy

Boolean

Specifies whether to prevent the ADFineGrainedPasswordPolicy objects from being deleted.

  • True

  • False (default)

FilterFineGrainedPasswordPolicy

String

Specifies a query string that retrieves ADFineGrainedPasswordPolicy objects.

Default: *

ProtectReplicationSite

Boolean

Specifies whether to prevent the ADReplicationSite objects from being deleted.

  • True

  • False (default)

FilterReplicationSite

String

Specifies a query string that retrieves ADReplicationSite objects.

Default: *

Example
AddsProtectFromAccidentalDeletion:
  ProtectDomain:   true
  ProtectOrgUnit:  true
  ProtectUser:     false
  ProtectGroup:    true
  ProtectComputer: true
  ProtectFineGrainedPasswordPolicy: true
  ProtectReplicationSite: true