The DASCLI policy command adds or deletes policies from the XML file or query specified, or from all policy types.

Authentication is required to use this command.

Parameters

dascli policy {add | delete} xml_file_name

dascli policy {query | query_unexpanded} [path | script | object | registry]

add
Add policies from the given XML file.
delete
Delete policies listed in the given XML file.
xml_file_name
Name of the XML file.
query
Returns current policies in XML format. If policy type is specified, only that type of policy is returned. Otherwise, all policies are returned. This query option returns rules expanded for all current users.
query_unexpanded
Returns current policies in XML format. If policy type is specified, only that type of policy is returned. Otherwise, all policies are returned. This query option returns rules not expanded for each user.
path
The query is for path policies (custom rules).
script
The query is for script rules.
object
The query is for object policies (memory rules).
registry
The query is for registry rules.