Azure Virtual Machine Run Command executes a command on an Azure virtual machine through Azure, without requiring direct network communication with the guest. The operator needs access to Azure over port 443, while Azure’s hypervisor integration handles execution. section 5.5
Use the capability when ordinary PowerShell remoting is impractical:
- Configure an initial machine or enable native PowerShell remoting before normal remoting is available. section 5.5
- Reach Azure machines in cloud, DMZ, or disjointed networks without opening network access to each virtual machine. section 5.5 section 5.7
- Include Azure virtual machines in a broader automation strategy alongside WSMan, SSH, and Azure Automation Hybrid Workers. section 5.7
Centralized antivirus reinstallation
A single control script combined WSMan and SSH remoting for data-center servers with Azure Virtual Machine Run Command for Azure machines. This centralized approach reinstalled antivirus software across the environment in under an hour, avoiding manual connections and restoring business applications faster. section 5.7
Visualizes remote script execution through hypervisor-based remoting rather than direct guest-network communication. section 5.5
