Get All Players Variable

How could I get all object’s with the Player Tag and then get a variable from each of those objects? So on each player there is a script with a variable, how can I get all of those? This is with a small network script for local area game.

GameObject.FindGameObjectsWithTag will give you a list of all objects with the tag.
GetComponent on those objects will give you the component that has the variable in question.
Not sure how exactly that will work with a networked game though, depends on how you have it set up.