- This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of the Atlas CLI.
Generate the autocompletion script for powershell
Generate the autocompletion script for powershell.
To load completions in your current shell session:
atlas completion powershell | Out-String | Invoke-Expression
To load completions for every new session, add the output of the above command to your powershell profile.
Syntax
Command Syntax
atlas completion powershell [options]
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for powershell | |
--no-descriptions | false | disable completion descriptions |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings. |