W3cubDocs

/Vagrant

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.

© 2010–2017 Mitchell Hashimoto
Licensed under the MPL 2.0 License.
https://www.vagrantup.com/docs/cli/powershell.html