Azure / Azure/azure-powershell
AzureRmVMRunCommand - Script Options
Open
act-observability-squad
Compute - VM
feature-request
Service Attention
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 51
Description
### Cmdlet(s)
Invoke-AzureRmVMRunCommand
### PowerShell Version
5.1.16299.19
### Module Version
4.4.1
### OS Version
10.0.16299.19
### Description
When using the CommandId "RunPowerShellScript" it would be very useful to be able to provide a number of additional options than only a local script.
1. Script URI - PS Script which is stored in a Azure Storage Account or another publicly accessible location.
2. Script Block - Pass a Script Object into the Cmdlet, similar to how we do this with Start-Job.
### Debug Output
N/A
### Script/Steps for Reproduction
N/A
Contributor guide
Assessment
This issue has not been assessed yet.