mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-02-03 20:39:27 -05:00
Fixes various capitalizations in the docs * Ex: VMware, Linux/Unix, PowerShell, some abbreviations Also, Prettier auto-formatted away some trailing spaces.
22 lines
651 B
Text
22 lines
651 B
Text
---
|
|
layout: docs
|
|
page_title: vagrant powershell - Command-Line Interface
|
|
description: |-
|
|
The "vagrant powershell" command is used to open a PowerShell prompt running
|
|
inside the guest machine.
|
|
---
|
|
|
|
# PowerShell
|
|
|
|
**Command: `vagrant powershell`**
|
|
|
|
This will open a PowerShell prompt on the host into a running Vagrant guest machine.
|
|
|
|
This command will only work if the machines supports PowerShell. Not every
|
|
environment will support PowerShell. At the moment, only Windows is supported
|
|
with this command.
|
|
|
|
## Options
|
|
|
|
- `-c COMMAND` or `--command COMMAND` - This executes a single PowerShell command,
|
|
prints out the stdout and stderr, and exits.
|