Skip to content
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

[Doc]: Set-AzVMRunCommand & Invoke-AzVMRunCommand #27059

Open
Locoxella opened this issue Jan 29, 2025 · 0 comments
Open

[Doc]: Set-AzVMRunCommand & Invoke-AzVMRunCommand #27059

Locoxella opened this issue Jan 29, 2025 · 0 comments
Labels
customer-reported needs-triage This is a new issue that needs to be triaged to the appropriate team.

Comments

@Locoxella
Copy link

Locoxella commented Jan 29, 2025

Type of issue

Code doesn't work

Feedback

With Set-AzVMRunCommand you can save custom scripts -SourceScript. -SourceScript and -SourceCommandId are exclusive, you cannot use them together.

Set-AzVMRunCommand -SourceScript successfully saves your script with a null commandId

Invoke-AzVMRunCommand has -CommandId being MANDATORY

Result: You can save runcommands with custom scripts, but you cannot invoke them.

Page URL

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

Content source URL

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

Author

@mikefrobbins

Document Id

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

@Locoxella Locoxella added the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported needs-triage This is a new issue that needs to be triaged to the appropriate team.
Projects
None yet
Development

No branches or pull requests

1 participant