## zowe › profiles › set-default › mq-profile

The mq set default-profiles command allows you to set the default profiles for this command group. When a mq command is issued and no profile override options are specified, the default profiles for the command group are automatically loaded for the command based on the commands profile requirements.

Warning: This command has been deprecated.
Recommended replacement: The 'config set' command

#### Usage

zowe profiles set-default mq-profile <profileName> [options]

#### Positional Arguments

- `profileName` (string)

  - Specify a
    profile for default usage within the mq group. When you issue commands within the mq group without a profile specified as part of the command, the default will be loaded instead.

#### Examples

- Set the default profile for type mq to the profile named 'profilename':

  - `zowe profiles set-default mq-profile profilename`