Hi all,
I want to get all PCs "serial numbers" over the network by using batch as I know this command "wmic /node:%hostname% bios get serialnumber /value" works properly separately but I want to but this command to work under for loop and for loop takes the hostnames from external text file then export the result to another text file arranged as follows " Hostname: Serial number"
Can anyone help, please?