Answer the question
In order to leave comments, you need to log in
How to find out the full name remotely by the name of the PC?
Hello! Please tell me how can I find out the user's full name by computer name? So that you can get a list of all full names from one PC. Is there some command in cmd, powershell or software
Answer the question
In order to leave comments, you need to log in
.... uncovering the crystal ball....
If we assume that the Active Directory tag is not just like that, then you can use
(Get-CimInstance -ComputerName comptername -Class Win32_ComputerSystem).Username
Find out the login of the current user
And then by login using Get-ADUser login to find out other necessary information
In Powershell, you can remotely enter the computer via Enter-PSSession and do get-childtem c:\Users. You
will see a list of everyone who logged into it.
Then on logins to get from AD a full name.
You can run through several computers through Invoke-Command, you can use variables instead of the absolute path c:\users
There are three ways:
1) If you go to the computer remotely and rummage around there. What will you do if most users have accounts called User or Admin?
2) If the computer name contains a full name. This happens, but rarely.
3) If someone before you set up and gave you access to a corporate network with a domain so that there is a base of computers with the full name of their owners.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question