rclone/docs/content/commands/rclone_completion_powershell.md

42 lines
1.0 KiB
Markdown
Raw Normal View History

2021-11-01 16:42:05 +01:00
---
title: "rclone completion powershell"
2023-08-02 11:02:38 +02:00
description: "Output powershell completion script for rclone."
aliases:
- /commands/rclone_genautocomplete_powershell/
2021-11-01 16:42:05 +01:00
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/completion/powershell/ and as part of making a release run "make commanddocs"
---
# rclone completion powershell
2023-08-02 11:02:38 +02:00
Output powershell completion script for rclone.
## Synopsis
2021-11-01 16:42:05 +01:00
Generate the autocompletion script for powershell.
To load completions in your current shell session:
2022-07-09 19:08:20 +02:00
2023-08-02 11:02:38 +02:00
rclone completion powershell | Out-String | Invoke-Expression
2021-11-01 16:42:05 +01:00
To load completions for every new session, add the output of the above command
to your powershell profile.
2023-08-02 11:02:38 +02:00
If output_file is "-" or missing, then the output will be written to stdout.
2021-11-01 16:42:05 +01:00
```
2023-08-02 11:02:38 +02:00
rclone completion powershell [output_file] [flags]
2021-11-01 16:42:05 +01:00
```
2023-08-02 11:02:38 +02:00
## Options
2021-11-01 16:42:05 +01:00
```
2023-08-02 11:02:38 +02:00
-h, --help help for powershell
2021-11-01 16:42:05 +01:00
```
See the [global flags page](/flags/) for global options not listed here.
2024-09-08 17:21:56 +02:00
## See Also
2021-11-01 16:42:05 +01:00
2023-08-02 11:02:38 +02:00
* [rclone completion](/commands/rclone_completion/) - Output completion script for a given shell.
2021-11-01 16:42:05 +01:00