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

610 B

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