vmware / vmware/pyvmomi

PyVmomi API For Last Logon Time

Open
#775 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
2.3k
Forks
763
PR merge metrics
No merged PRs in 30d

Description

Hello,

I am using pyVmomi for automation purpose. My aim is to get all VMs along with their last logon time (by any user). I am interested in this last logon time, as I need to auto logout or shutdown all those machines which have logged in since more than x days.

Does the API has support for this feature of getting "last logon time" ? Please help.

Regards,
Venu

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking the pyVmomi API bindings and VMware vSphere API documentation for a way to retrieve a VM's last logon time. The issue is complete when the supported API capability, or its absence and any relevant limitation, is clearly established.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.