20 lines
473 B
Markdown
20 lines
473 B
Markdown
---
|
|
page_title: "vagrant powershell - Command-Line Interface"
|
|
sidebar_current: "cli-powershell"
|
|
---
|
|
|
|
# PowerShell
|
|
|
|
**Command: `vagrant powershell`**
|
|
|
|
This will open a PowerShell prompt into a running Vagrant machine.
|
|
|
|
This command will only work if the machine supports PowerShell. Not every
|
|
environment will support PowerShell.
|
|
|
|
## Options
|
|
|
|
* `-c COMMAND` or `--command COMMAND` - This executes a single PowerShell command,
|
|
prints out the stdout and stderr, and exits.
|
|
|