I have about 200+ archived HDD's that I need to find the hostnames for, and I was wondering if someone can tell me it there is a good way to do this through Powershell, or if there is a different way of doing it that would be better, like creating a CMD batch script or something? I don't know any other programming/scripting languages like Python, etc, so I would like to stick with either Powershell or command line if possible. I will be slaving them up to another PC to find this, and some of the drives will be on XP, some will be on Windows 7.
Thanks in advance.