this is my first post. I am beginner in PowerShell and either programming.
I have a task to build a PS tool to revoke Jira licenses (Server, not Cloud) of inactive users depending of days since their last login and send mail notification to project leaders of projects where these revoked users were assigned.
Using SQL and API I get all information which I need:
- inactive users,
- users’s projects,
- project leaders and their mails
But I can’t link these all lists, arrays, objects and add to this some logic to build complete solution.
Which control flows, conditional statements comes to your mind in this case? Any help would be appreciated.