| title | How to use the 'blobfuse2 completion powershell' command to generate the autocompletion script for BlobFuse2 |
|---|---|
| titleSuffix | Azure Storage |
| description | Learn how to use the 'blobfuse2 completion powershell' command to generate the autocompletion script for BlobFuse2. |
| author | akashdubey-ms |
| ms.service | azure-blob-storage |
| ms.topic | how-to |
| ms.date | 12/02/2022 |
| ms.author | akashdubey |
Use the blobfuse2 completion powershell command to generate the autocompletion script for BlobFuse2 for PowerShell.
blobfuse2 completion powershell --[flag-name]=[flag-value]
Flags that apply to blobfuse2 completion powershell are inherited from the grandparent command, blobfuse2, or apply only to the blobfuse2 completion subcommands.
The following flags are inherited from grandparent command blobfuse2:
| Flag | Short version | Value type | Default value | Description |
|---|---|---|---|---|
| disable-version-check | boolean | false | Enables or disables automatic version checking of the BlobFuse2 binaries | |
| help | -h | n/a | Help info for the blobfuse2 command and subcommands |
The following flags apply only to the blobfuse2 completion subcommands:
| Flag | Value type | Default value | Description |
|---|---|---|---|
| no-descriptions | boolean | false | Disable completion descriptions |
To load completions in your current PowerShell session:
blobfuse2 completion powershell | Out-String | Invoke-ExpressionTo load completions for every new session, add the output of the above command to your PowerShell profile.
Note
You will need to start a new shell for this setup to take effect.