Vagrant
WinRM
Command: vagrant winrm [name|id]
Executes the provided command(s) on the guest machine using the
WinRM communicator. Commands are provided with the --command
option and multiple --command
flags may be provided for
executing multiple commands. This command requires the guest
machine to be configured with the WinRM communicator.
Options
--command COMMAND
- Command to execute.--elevated
- Run command(s) with elevated credentials.--shell (cmd|powershell)
- Shell to execute commands. Defaults topowershell
.