azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

Parameter to name a Invoke-AzVMRunCommand job

Open dingmeng-xue opened this issue 5 years ago • 18 comments

Discussed in https://github.com/Azure/azure-powershell/discussions/15917

Originally posted by KrzysztofR79 September 21, 2021 I run quite a lot of jobs with Invoke-AzVMRunCommand, and ATM, there's no way to tell what VM a given job runs against. What I'm missing is a parameter to name the job so I can name it accordingly to VM I run it against. When listing jobs with Get-Job, all I can see is a vague "Long Running Operation for 'Invoke-AzVMRunCommand'" job name.

dingmeng-xue avatar Oct 08 '21 01:10 dingmeng-xue

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Drewm3, @avirishuv.

Issue Details

Discussed in https://github.com/Azure/azure-powershell/discussions/15917

Originally posted by KrzysztofR79 September 21, 2021 I run quite a lot of jobs with Invoke-AzVMRunCommand, and ATM, there's no way to tell what VM a given job runs against. What I'm missing is a parameter to name the job so I can name it accordingly to VM I run it against. When listing jobs with Get-Job, all I can see is a vague "Long Running Operation for 'Invoke-AzVMRunCommand'" job name.

Author: dingmeng-xue
Assignees: -
Labels:

feature-request, Compute - VM, Service Attention, needs-triage

Milestone: -

ghost avatar Oct 08 '21 01:10 ghost

@oriwolman could you please take a look at this issue?

avirishuv avatar Oct 08 '21 22:10 avirishuv

@amjads1 could you please take a look at this issue?

oriwolman avatar Oct 10 '21 03:10 oriwolman

Apologies for the late response, I'm looking into this issue now and should have an update shortly.

amjads1 avatar Oct 28 '21 19:10 amjads1

Engaged with the PowerShell team, should have an update soon.

amjads1 avatar Nov 04 '21 19:11 amjads1

@dingmeng-xue , The Invoke-AzVMRunCommand does have the VMName parameter to indicate which CM the script is to be run on. I'm guessing the primary ask is for Get-Job and the content in the VMRunCommand.

How is the user using Get-Job? From reading its public docs, seems like a core cmdlet that returns properties about generic background jobs. Does Get-Job just return all properties of a background job, or would something in Get-Job need to change for this feature to be made?

Sandido avatar Nov 09 '21 22:11 Sandido

@dingmeng-xue - Can you please respond to earlier comment so that we can work towards closure of this item?

amjads1 avatar Dec 09 '21 08:12 amjads1

@dingmeng-xue - Following up to check if you need any further help. If we don't hear any response by end of this week then I will assume that issue is no longer existing and will close this issue.

amjads1 avatar Jan 06 '22 19:01 amjads1

Closing this issue as we didn't hear any response and assuming that issue is resolved. Please feel free to re-open if you need any further help. Thanks!

amjads1 avatar Jan 13 '22 20:01 amjads1

As per the email thread with @amjads1 and @dingmeng-xue , the preferred behavior is to keep this item open until the PS team has time to investigate it.

Sandido avatar Jan 21 '22 16:01 Sandido

@Sandido Following up to check if you have any updates to share post your investigation.

amjads1 avatar Feb 03 '22 19:02 amjads1

@Sandido Can you please update if the PS team was able to investigate on this issue and the next steps here?

amjads1 avatar Mar 24 '22 19:03 amjads1

I asked @dingmeng-xue about it to see if they can investigate further.

Sandido avatar Mar 24 '22 19:03 Sandido

@dingmeng-xue Could you please share any updates from your investigation on this issue?

amjads1 avatar Mar 24 '22 20:03 amjads1

We are working with PowerShell team on this feature request,

nikhilpatel909 avatar May 19 '22 19:05 nikhilpatel909

@dingmeng-xue @Sandido Please provide any update on the investigation. Do we need to close this issue?

nikhilpatel909 avatar Oct 20 '22 19:10 nikhilpatel909

@sandido any update on this feature request

nikhilpatel909 avatar Aug 03 '23 20:08 nikhilpatel909

we are not going to more forward with this request at this time, However we will keep it in our backlog and that any future requests for this feature should be submitted to feedback.azure.com

nikhilpatel909 avatar Aug 17 '23 14:08 nikhilpatel909