website/content/docs/cli/winrm.mdx
⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
[!IMPORTANT]
Documentation Update: Product documentation previously located in/websitehas moved to thehashicorp/web-unified-docsrepository, where all product documentation is now centralized. Please make contributions directly toweb-unified-docs, since changes to/websitein this repository will not appear on developer.hashicorp.com. ⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
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.
--command COMMAND - Command to execute.
--elevated - Run command(s) with elevated credentials.
--shell (cmd|powershell) - Shell to execute commands. Defaults to powershell.