Docs Menu
Docs Home
/ /
Atlas CLI
/ /

atlas completion powershell

Generate the autocompletion script for powershell

Public Preview: The atlas api sub-command, automatically generated from the MongoDB Atlas Admin API, offers full coverage of the Admin API and is currently in Public Preview (please provide feedback at https://feedback.mongodb.com/forums/930808-atlas-cli). Admin API capabilities have their own release lifecycle, which you can check via the provided API endpoint documentation link.

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.

Command Syntax
atlas completion powershell [options]
Name
Type
Required
Description

-h, --help

false

help for powershell

--no-descriptions

false

disable completion descriptions

Name
Type
Required
Description

-P, --profile

string

false

Back

fish

On this page