New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error running Invoke-AzureRmVmRunCommand: VM has reported a failure when processing extension 'RunCommandWindows' #6343
Comments
@koralski @savyasachisamal Can you take a look at this issue? |
I figured out this was an issue with how I was handling parameters and strings into the Invoke-AzureRmVMRunCommand call. It would be really nice if the output actually propagated the error to the console window. Ok to close this ticket. |
@muntaserq So what exactly resolved the issue involving the params for Invoke-AzureRmVMRunCommand? |
bump^ @muntaserq |
1 similar comment
bump^ @muntaserq |
In this specific context, I had to build up my $parameters HashTable a little differently. Instead of doing:
I had to do:
This was the recommendation I got from an Azure Support Engineer. This seems to only be the case when using on parameter in the script. All that being said, I've since moved over to using the latest stable version of the AzureRm PowerShell modules and all my issues with that module have gone away. I use version 6.13.1 and of course you can find all the versions here: https://github.com/Azure/azure-powershell/releases. |
@kaveaa You're welcome. Also make sure that there are no syntax errors in your PowerShell script. I've seen the case when this error returns and there ends up being an error in the actual script. One troubleshooting method is to remote desktop into the target virtual machine and view the status of the |
Description
We are trying to run Invoke-AzureRmVmRunCommand on some of our VMs. The command words on most of the VMs but on some of them we are getting a really weird error. We just started seeing it recently 05/29/2018 and it is consistent on the particular VMs.
ErrorMessage: VM has reported a failure when processing extension 'RunCommandWindows'. Error message: "Finished
executing command". (full stack trace below)
Script/Steps for Reproduction
Module Version
Version is 5.0.1
Debug Output
The text was updated successfully, but these errors were encountered: