VBS Script To Send Basic Machine Information To Excel
This VBS Script will send the following information for a specified machine name to excel: Machine Name, User Name, Operating System, Build Version, Manufacturer and Model.
VBS Script:
strComputer = InputBox (”Enter Machine Name”)
Set objExcel = CreateObject(”Excel.Application”)
objExcel.Visible = True
objExcel.Workbooks.Add
objExcel.Cells(1, 1).Value = “Machine Name”
objExcel.Cells(2, 1).Value = “User Name”
objExcel.Cells(3, 1).Value = […]
