vagrant/website/docs/source/v2/cli/powershell.html.md

473 B

page_title sidebar_current
vagrant powershell - Command-Line Interface 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.