VB Script Drive Space Check on list of System
Set objExcel = CreateObject("Excel.Application") objExcel.Visible = True objExcel.Workbooks.Add intRow = 2 objExcel.Cells(1, 1).Value = "Machine Name" objExcel.Cells(1, 2).Value = "Drive" objExcel.Cells(1, 3).Value = "Total Size" objExcel.Cells(1, 4).Value = "Used Space" objExcel.Cells(1, 5).Value = "Free Space" objExcel.Cells(1, 6).Value = "Free Space Percentage" Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFile = objFSO.OpenTextFile("MachineList.txt", 1) … Read more