Logged On User - Remote Machines - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Logged On User - Remote Machines (/thread-26060.html) |
Logged On User - Remote Machines - mickrobinson567812 - Apr-20-2020 Hi Guys Please can you advise if there is a way to see who is logged on to a group of PC's I have used the below locally but need to query 20 pc's so would like to pass a list to the command. import os user = os.environ['USERNAME'] print(user)TIA Mick |