QUERY POLICYSET (Query a policy set)
Use this command to display information about one or more policy sets.
Privilege class
Any administrator can issue this command.
Syntax
.-*--*-----------------------------. >>-Query POlicyset--+----------------------------------+--------> | .-*---------------. | '-domain_name--+-----------------+-' '-policy_set_name-' .-Format--=--Standard-----. >--+-------------------------+--------------------------------->< '-Format--=--+-Standard-+-' '-Detailed-'
Parameters
- domain_name
- Specifies the policy domain associated with the policy set to query. This parameter is optional. You can use wildcard characters to specify names. If you do not specify a value for this parameter, all policy domains are queried. You must specify this parameter when querying an explicitly named policy set.
- policy_set_name
- Specifies the policy set to query. This parameter is optional. You can use wildcard characters to specify names. If you do not specify either ACTIVE or a policy set name, all policy sets are queried.
- Format
- Specifies how the information is displayed. This parameter is optional.
The default value is STANDARD. Possible values are:
- Standard
- Specifies that partial information is displayed.
- Detailed
- Specifies that complete information is displayed.
Example: List policy sets for all policy domains
Query all policy sets for all policy domains. Create the output in standard format. See Field descriptions for field descriptions.query policyset
Policy Policy Default Description
Domain Set Name Mgmt
Name Class
Name
--------- --------- --------- ------------------------
EMPLOYEE- ACTIVE ACTIVEFI- Personnel Department
_RECORDS LES
EMPLOYEE- HOLIDAY ACTIVEFI- Personnel Department
_RECORDS LES
EMPLOYEE- VACATION ACTIVEFI- Personnel Department
_RECORDS LES
PROG1 SUMMER Programming Group
Policies
PROG2 SUMMER Programming Group
Policies
STANDARD ACTIVE STANDARD Installed default policy
set.
STANDARD STANDARD STANDARD Installed default policy
set.
Example: Displayed detailed information about a specific policy set
Query the VACATION policy set that is in the EMPLOYEE_RECORDS policy domain. Create the output in detailed format. See Field descriptions for field descriptions.query policyset employee_records vacation
format=detailed
Policy Domain Name: EMPLOYEE_RECORDS
Policy Set Name: VACATION
Default Mgmt Class Name: ACTIVEFILES
Description: Personnel Department
Last Update by (administrator): $$CONFIG_MANAGER$$
Last Update Date/Time: 05/31/1998 13:15:50
Managing profile: ADSM_INFO
Changes Pending: Yes
Field descriptions
- Policy Domain Name
- The name of the policy domain.
- Policy Set Name
- The name of the policy set.
- Default Mgmt Class Name
- The management class assigned as the default for the policy set.
- Description
- The description of the policy set.
- Last Update by (administrator)
- The name of the administrator or server that most recently updated the policy set. If this field contains $$CONFIG_MANAGER$$, the policy set is associated with a domain that is managed by the configuration manager.
- Last Update Date/Time
- The date and time when the policy set was most recently defined or updated.
- Managing Profile
- The profile or profiles that manage the domain to which this policy set belongs.
- Changes Pending
- Whether or not changes are being made but not activated. Once the changes are activated, the field resets to No.
Related commands
Command | Description |
---|---|
ACTIVATE POLICYSET | Validates and activates a policy set. |
COPY POLICYSET | Creates a copy of a policy set. |
DEFINE POLICYSET | Defines a policy set within the specified policy domain. |
DELETE POLICYSET | Deletes a policy set, including its management classes and copy groups, from a policy domain. |
QUERY DOMAIN | Displays information about policy domains. |
UPDATE POLICYSET | Changes the description of a policy set. |
VALIDATE POLICYSET | Verifies and reports on conditions the administrator must consider before activating the policy set. |