Use this command on a configuration manager to delete a profile and stop its distribution to managed servers.
You cannot delete a locked profile. You must first unlock the profile with the UNLOCK PROFILE command.
Attention: Deleting a profile from a configuration manager does not delete objects associated with that profile from the managed servers. You can use the DELETE SUBSCRIPTION command with the DISCARDOBJECTS=YES parameter on each subscribing managed server to delete subscriptions to the profile and associated objects. This also prevents the managed servers from requesting further updates to the profile.
Privilege Class
To issue this command, you must have system privilege.
Syntax
.-Force--=--No------. >>-DELete PROFIle--profile_name--+-------------------+--------->< '-Force--=--+-No--+-' '-Yes-'
Parameters
Examples
Task
Delete a profile named BETA, even if one or more managed servers subscribe to it.
Related Commands
Table 114. Commands Related to DELETE 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 SUBSCRIPTION | Deletes a specified profile subscription. |
LOCK PROFILE | Prevents distribution of a configuration profile. |
QUERY PROFILE | Displays information about configuration profiles. |
QUERY SUBSCRIPTION | Displays information about profile subscriptions. |
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. |