![]() Alternatively, if anyone has any script that will allow me to get-content from a text file of hostnames, and then spit out in a report the following that would be very good. Furthermore, you can find the 'Troubleshooting Login Issues' section which can answer your unresolved problems and equip you with a lot of relevant information. As i dont have additional monitors at home, please test if at all possible to see if it shows you the correct serial numbers or just a series of numbers. However, if I connect it after the computer has booted up, the SerialNumber field is always blank. Powershell Get Registry Key Remote Computer LoginAsk is here to help you access Powershell Get Registry Key Remote Computer quickly and handle each specific case you encounter. I am connecting the drives with a USB HDD dock, and it seems that if the computer is booted with the drive connected internally (via SATA cables, I haven't tested externally yet), then the SerialNumber field is populated. $SerialNumber = foreach($Disk in $Disks) $Disks = Get-WMIObject -class win32_PhysicalMedia ![]() I have the following bit of Powershell code (mostly completed) that should do this, but there's a complication as well. ![]() ![]() I am archiving a large number of HDD's at my company, and I have a powershell script that grabs the hostname and user list from a Windows OS installation, and I would like to programatically find the serial number of the drive as well. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |