Open
@masterofimages

Description

Type of issue

Code doesn't work

Feedback

The example states: "Invoke a command on Windows - Using ScriptPath parameter when the script resides on the remote Windows VM". This is incorrect. It should say "Invoke a command on Windows - Using ScriptPath parameter when the script resides on the local Windows VM". To run a script which resides on the remote Windows VM, ScriptString must be used.

Page URL

https://learn.microsoft.com/en-us/powershell/module/az.compute/invoke-azvmruncommand?view=azps-14.1.0&source=docs

Content source URL

https://.com/Azure/azure-powershell/blob/main/src/Compute/Compute/help/Invoke-AzVMRunCommand.md

Author

@mikefrobbins

Document Id

e7d2f266-0b25-3b15-6278-40c58d41600d

Platform Id

7f4198ec-6ee3-a28b-1755-3607472dcb43