This topic contains 6 replies, has 5 voices, and was last updated by
October 26, 2015 at 7:59 am #31320
Some of our Computers have no Computer Names given during the time of deployment. I was wondering if there is a way of giving my co-worker a Script to retrieve the Computer Names? Much appreaciated.
October 26, 2015 at 8:50 am #31322KeymasterTopics: 13Replies: 4872Points: 1,811Rank: Community Hero
Not by serial number, no. At best, if you know the network adapter MAC, you could query your dhcp server to see what up address it was using.
October 26, 2015 at 9:14 am #31326ParticipantTopics: 0Replies: 25Points: 1Rank: Member
You can but it would entail performing WMI various queries on every computer to return the name and serial number. You could examine the returned data to get the info you need.
I believe there's another thread on this forum involving retrieving the name, OS and serial number info.
October 27, 2015 at 2:52 am #31351
Thanks everybody. I was so impressed about the quick reply. I heard so much about how the Team regards each and every Question as personal and Important and it has been proven right. There are some really great people behind this Team. Many Thanks.
October 27, 2015 at 9:20 pm #31395ParticipantTopics: 3Replies: 17Points: 0Rank: Member
Are these computers domain joined?
"Some of our Computers have no Computer Names given during the time of deployment. "
It is impossible to not have a computer name, can you elaborate on this?
October 30, 2015 at 2:20 am #31517
Hi Mike, You are right. I did not elaborate better on this one. It all started when we deployed almost 900 Computers with Windows 8.1 to the existing Windows XP Computers. What we have found out is that there might be 2 physical Computers with the same Computer Name. There is also the possibility of Computers having a fake Computer Name. What I am looking for is something simple like a Read-Host and then use that serial number to find the Computer name. The majority of the computers are correctly registered, so its just a few (maybe 2 to 5) computers that we need to track. Thanks for your support.
October 31, 2015 at 3:58 pm #31555ParticipantTopics: 6Replies: 236Points: 0Rank: Member
There are still a lot of things you haven't told us that would be really useful.
- Are these computers in a domain?
- If so they must have unique names.
- If not, what security context do you intend to use to access the systems?
- Do they have PSRemoting enabled?
- What are you using as your master source for serial numbers and how do you plan to correlate that to a new name?
- What do you mean by a "fake name"?
We really do need more info here.
The topic ‘Using the serial Number to retrieve the name of a Compter’ is closed to new replies.