website: update docs for powershell

This commit is contained in:
Mitchell Hashimoto 2015-11-18 10:51:18 -08:00
parent e34af86acf
commit 6bc286a70b
3 changed files with 21 additions and 1 deletions

View File

@ -13,7 +13,7 @@ module VagrantPlugins
options = {}
opts = OptionParser.new do |o|
o.banner = "Usage: vagrant ps [-- extra ps args]"
o.banner = "Usage: vagrant powershell [-- extra powershell args]"
o.separator ""
o.separator "Options:"

View File

@ -103,6 +103,7 @@
<li<%= sidebar_current("cli-login") %>><a href="/v2/cli/login.html">login</a></li>
<li<%= sidebar_current("cli-package") %>><a href="/v2/cli/package.html">package</a></li>
<li<%= sidebar_current("cli-plugin") %>><a href="/v2/cli/plugin.html">plugin</a></li>
<li<%= sidebar_current("cli-powershell") %>><a href="/v2/cli/powershell.html">powershell</a></li>
<li<%= sidebar_current("cli-provision") %>><a href="/v2/cli/provision.html">provision</a></li>
<li<%= sidebar_current("cli-rdp") %>><a href="/v2/cli/rdp.html">rdp</a></li>
<li<%= sidebar_current("cli-reload") %>><a href="/v2/cli/reload.html">reload</a></li>

View File

@ -0,0 +1,19 @@
---
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.