Set boundaries.
At my first professional job, there was one guy who always came in at exactly on time and never stayed late. I always thought it was weird, I’d typically stay at least long enough to finish whatever thought I was working on, and sometimes later just because I had nothing important to get to. Eventually I became one of the guys to go to when you needed someone to stay late. I didn’t mind, in fact I like being helpful. Looking back, I realized that I gave the company a lot of free work and didn’t get anything for it. It seems obvious but important to realize from day one, you are setting expectations. A “good” manager will figure out pretty quickly which employees they can exploit and how.
Leave. It’s all going to hell.
Do some study in your own time.
If you aren’t sure what to do and like servers etc, just do the Microsoft courses. Having these on your resume gets you ahead of people that don’t have them at all.
Don’t be evil
This sounds like a conversation for you and your manager. I’ve had a few with my team that have resulted in different solutions for different people.
With one we established a monthly 1h call for her to explain where she is stuck, what she has tried, and we brainstorm how to get through it. This is separate from our usual weekly check-ins and focuses on issues related specifically to complexity and ambiguity.
With another, he created a list of what she thinks needs to happen and puts together ideas on how to get through it. I review it and then give him feedback. He liked this as over time he built confidence on his ideas as my feedback more often than not was “exactly what I would try, go for it”.
Finally, sometimes is about reducing the work load on that team member until they get a good foothold and slowly start adding more.
Shot answer, no one solution or easy path, but communication with your manager and hopefully a good manager is your besy bet.