summaryrefslogtreecommitdiff
path: root/devdocs/vagrant/cli%2Fpowershell.html
blob: 88bfedfb4ea9fafc4552305676ffe49d05e2fa09 (plain)
1
2
3
4
5
6
7
<h1 id="powershell">  PowerShell </h1> <p><strong>Command: <code>vagrant powershell</code></strong></p> <p>This will open a PowerShell prompt on the host into a running Vagrant guest machine.</p> <p>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.</p> <h2 id="options">  Options </h2> <ul> <li>
<a href="#c-command"><code>-c COMMAND</code></a> or <code>--command COMMAND</code> - This executes a single PowerShell command, prints out the stdout and stderr, and exits. </li> </ul><div class="_attribution">
  <p class="_attribution-p">
    &copy; 2010&ndash;2018 Mitchell Hashimoto<br>Licensed under the MPL 2.0 License.<br>
    <a href="https://www.vagrantup.com/docs/cli/powershell.html" class="_attribution-link">https://www.vagrantup.com/docs/cli/powershell.html</a>
  </p>
</div>