Use this command to display information about profiles and associated objects. Issue this command from a configuration manager or from a managed server. You can use this command to get profile information from any configuration manager defined to the server, even if the server does not subscribe to any profile.
If you query a locked profile from the configuration manager to which the profile belongs, complete profile information is displayed. If you query a locked profile from another server, the query displays only that the profile is locked.
Privilege Class
Any administrator can issue this command.
Syntax
.-*------------. >>-Query PROFIle----+--------------+----------------------------> '-profile_name-' >-----+------------------------------+--------------------------> | (1) | '-SERVer--=--server_name-------' .-Format--=--Standard-----. .-USELocal--=--Yes-----. >-----+-------------------------+---+----------------------+--->< '-Format--=--+-Standard-+-' '-USELocal--=--+-Yes-+-' '-Detailed-' '-No--'
Notes:
Parameters
If you use this parameter on a server that is not managed by the configuration manager that owns the profile, the parameter is ignored. The default value is YES. Possible values are:
Examples
Task 1
Display profile information from a configuration manager.
+--------------------------------------------------------------------------------+ |Configuration Profile name Locked? | |manager | |--------------- --------------- ------ | |SERVER1 DEFAULT_PROFILE No | |SERVER1 ADMIN_INFO No | |SERVER1 EMPLOYEE No | |SERVER1 PERSONNEL Yes | +--------------------------------------------------------------------------------+
Task 2
From a managed server, display current detailed information for profile ADMIN_INFO.
Note: | When the profile is locked, most fields are not displayed. |
+--------------------------------------------------------------------------------+ | Configuration manager: SERVER1 | | Profile name: ADMIN_INFO | | Locked: No | | Description: Distributed administrative schedules | | Server administrators: DENNIS EMILY ANDREA | | Policy domains: ADMIN RECORDS | |Administrative command schedules: ** all objects ** | | Server Command Scripts: | | Client Option Sets: | | Servers: | | Server Groups: | +--------------------------------------------------------------------------------+
where:
Related Commands
Table 179. Commands Related to QUERY PROFILE
Command | Description |
---|---|
COPY PROFILE | Creates a copy of a profile. |
DEFINE PROFASSOCIATION | Associates objects with a profile. |
DEFINE PROFILE | Defines a profile for distributing information to managed servers. |
DEFINE SUBSCRIPTION | Subscribes a managed server to a profile. |
DELETE PROFASSOCIATION | Deletes the association of an object with a profile. |
DELETE PROFILE | Deletes a profile from a configuration manager. |
LOCK PROFILE | Prevents distribution of a configuration profile. |
SET CONFIGMANAGER | Specifies whether a server is a configuration manager. |
UNLOCK PROFILE | Enables a locked profile to be distributed to managed servers. |
UPDATE PROFILE | Changes the description of a profile. |