2015-11-18 18:51:18 +00:00
|
|
|
---
|
2016-01-19 18:08:53 +00:00
|
|
|
layout: "docs"
|
2015-11-18 18:51:18 +00:00
|
|
|
page_title: "vagrant powershell - Command-Line Interface"
|
|
|
|
sidebar_current: "cli-powershell"
|
2016-01-19 18:08:53 +00:00
|
|
|
description: |-
|
|
|
|
The "vagrant powershell" command is used to open a powershell prompt running
|
|
|
|
inside the guest machine.
|
2015-11-18 18:51:18 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# 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.
|