chocolatey / chocolatey-licensed-issues

Issues for Licensed Editions of Chocolatey
19 stars 13 forks source link

computer view of "last executed chocolatey tasks" #373

Open pLeXwithFleX opened 5 months ago

pLeXwithFleX commented 5 months ago

Checklist

Is Your Feature Request Related To A Problem? Please describe.

In the latest release its very easy to get access to the logfiles when a deployment plan was used. I was thinking about this and was asking me why its not possible to get access from central management to the logfile of a client for a task which was executed from a different method.

When you using integration into different deployment solutions. You have no access to the logfile until you will have a direct connection to the client.

Describe The Solution. Why is it needed?

I would like to see a "last task view" or "last executions" from computer details view. The chocolatey agent can reporting every "choco install", "choco uninstall" or "choco upgrade" run. No matter if it was running from ccm or from a different solution.

I imagine a view of list for all tasks and a timestamp when it was executed with a result. A little bit like the view of the reports now, but just on the computer details page and for all choco tasks for this computer. When you click a task, you can get the logging informations from the chocolatey.log file for this task.

This will improve to get an overview what happend on the client a lot and making troubleshooting deployments a lot easier.

I would like to love this :-)

Additional Context

No response

Related Issues

No response

pauby commented 5 months ago

To clarify, you're looking for CCM to show you the Chocolatey CLI log for any task that it has done whether executed via CCM, Salt, Ansible, or command line?

pLeXwithFleX commented 5 months ago

Hi Pauly, thanks for your reply. Yes, that is my idea. I mean for any „choco install“, „choco upgrade“ or „choco uninstall“ command. That can be from ansible, intune or simply from the local powershell or the chocolatey gui.

the idea is that you can get an overview for all important choco tasks on one place togehter.

But not just simply an access to the logfile. I mean a view which splitting the tasks like the reports already do for any step of a deployment plan.

maybe the chocolatey agent get a hit from choco cli when a specified command was used, that the agent knows to send the result to ccm.

best regards Alex