Working with Active Directory protection templates
The following commands are available to manage Active Directory protection:
New-CAADProtectionTemplate
Use this command to create an Active Directory protection template.
Table 77. Available parameters
Example: Create an Active Directory protection template Example: Creating an Active Directory Protection template to protect objects in a foreign forest $forestCredential = New-CAForestCredential -ForestName $forestName -Credential $creds
New-CAProtectedObject
Use this command to create a protected object to include in a protection template.
Table 78. Available parameters
Scope of coverage for the protected object. Specify the scope using one of the following values:
Operations to be denied for the selected object:
•
•
•
•
•
•Example: Create a new protected object Remove-CAProtectedObject
Use this command to remove protected objects from a protection template.
Table 79. Available parameters
Example: Remove protected object Example: Remove protected object from a foreign forest $forestCredential = New-CAForestCredential -ForestName $forestName -Credential $creds
$templates = Get-CAADProtectionTemplates -Connection $connection -Credential $forestCredential
New-CAForestCredential
Table 80. Available parameters
Example: Creating an Active Directory Protection template to protect objects in a foreign forest $forestCredential = New-CAForestCredential -ForestName $forestName -Credential $creds
New-CAScheduledTimeRange
Use this command to schedule when to enforce the protection.
Table 81. Available parameters
Spelled out day of the week to begin the protection. For example, Monday.
Example: Create a scheduled time range for a protected template New-CAScheduledTimeRange -Day Monday -StartTime 7 -EndTime 18
Get-CAADProtectionTemplates
Table 82. Available parameters
A connection obtained by using the Connect-CAClient command.
Example: Get a list of all Active Directory Protection templates Get-CAADProtectionTemplates -Connection $connection
Example: Get a list of all Active Directory Protection templates in a foreign forest $forestCredential = New-CAForestCredential -ForestName $forestName -Credential $creds
Get-CAADProtectionTemplates -Connection $connection -Credential $forestCredential
Remove-CAADProtectionTemplate
Use this command to remove an Active Directory protection template.
Table 83. Available parameters
A connection obtained by using the Connect-CAClient command.
The PSCAProtectionTemplate object to remove.
Obtain the template objects using the Get-CAADProtectionTemplates command and filter to select the object to remove.
Example: Remove an Active Directory protection template Remove-CAADProtectionTemplate -Connection $connection -Template $template
Example: Remove an Active Directory Protection template in a foreign forest
$forestCredential = New-CAForestCredential -ForestName $forestName -Credential $creds
Set-CAADProtectionTemplate
Use this command to modify Active Directory protection templates.
Table 84. Available parameters
Example: Modify a protection template Example: Modify a template that contains foreign forest objects $forestCredential = New-CAForestCredential -ForestName $forestName -Credential $creds
$templates = Get-CAADProtectionTemplates -Connection $connection -Credential $forestCredential
Working with GPO protection templates
The following commands are available to manage GPO protection:
New-CAGPOProtectionTemplate
Use this command to create a GPO protection template.
Table 85. Available parameters
Example: Create a GPO Protection template Example: Create a GPO Protection template to protect objects in a foreign forest $forestCredential = New-CAForestCredential -ForestName $forestName -Credential $creds
Get-CAGPOProtectionTemplates
Use this command to see all the GPO protection templates that have been created.
Table 86. Available parameters
A connection obtained by using the Connect-CAClient command.
Example: Get a list of all GPO Protection templates Get-CAGPOProtectionTemplates -Connection $connection
Example: Get a list of all GPO Protection templates with objects in a foreign forest $forestCredential = New-CAForestCredential -ForestName $forestName -Credential $creds
Get-CAGPOProtectionTemplates -Connection $connection -Credential $forestCredential
Example: Get a list of operations and protected objects for GPO Protection template Set-CAGPOProtectionTemplate
Use this command to modify a GPO protection template.
Table 87. Available parameters
Example: Modify a GPO Protection template Example: Modify a GPO template that contains foreign forest objects $forestCredential = New-CAForestCredential -ForestName $forestName -Credential $creds
Remove-CAGPOProtectionTemplate
Use this command to remove a GPO protection template.
Table 88. Available parameters
A connection obtained by using the Connect-CAClient command.
The PSCAProtectionTemplate object to remove.
Obtain the template objects using the Get-CAGPOProtectionTemplates command and filter to select the object to remove.
Example: Remove a GPO protection template Remove-CAGPOProtectionTemplate -Connection $connection -Template $template
This book provides information on the Change Auditor dialogs and help available within the product.
Change Auditor dialogs
•
•