This is how i am echoing the info im requesting but id love for it to go to a text file or some sort of log so it is neater
For Each objSWbemObject in colSWbemObjectSet
wscript.echo "Hard Drive Space",VbCrLf,_
"Megabytes of Free Disk Space on c:\ ", Int(FreeMegaBytes), VbCrLf, _
"Megabytes of Free Disk Space on D:\ " & Int(FreeMegaBytes1),VBCrLF,VBCrLF,"Page File Settings", vbcrlf, "Total Virtual Memory : " & FormatNumber(objSWbemObject.TotalVirtualMemory / CONVERSION_FACTOR, NoDecimals) _
& " (MB)" & vbCrlf & _
"Available Virtual Memory : " & FormatNumber(objSWbemObject.AvailableVirtualMemory / CONVERSION_FACTOR, NoDecimals) _
& " (MB)" & vbCrlf & _
"Total Physical Memory : " & FormatNumber(objSWbemObject.TotalPhysicalMemory / CONVERSION_FACTOR, NoDecimals) _
& " (MB)" & vbCrlf & _
"Total Page File Space : " & FormatNumber(objSWbemObject.TotalPageFileSpace / CONVERSION_FACTOR, NoDecimals) _
& " (MB)" & vbcrlf & vbcrlf & "PRINTERS CURRENTLY MAPPED: " & VbCrLf & VbCrLf & UCASE(StrPrintStatus) & "NETWORK DRIVES CURRENTLY MAPPED: " & VbCrLf & VbCrLf & UCASE(StrDrivePath)
For Each objSWbemObject in colSWbemObjectSet
wscript.echo "Hard Drive Space",VbCrLf,_
"Megabytes of Free Disk Space on c:\ ", Int(FreeMegaBytes), VbCrLf, _
"Megabytes of Free Disk Space on D:\ " & Int(FreeMegaBytes1),VBCrLF,VBCrLF,"Page File Settings", vbcrlf, "Total Virtual Memory : " & FormatNumber(objSWbemObject.TotalVirtualMemory / CONVERSION_FACTOR, NoDecimals) _
& " (MB)" & vbCrlf & _
"Available Virtual Memory : " & FormatNumber(objSWbemObject.AvailableVirtualMemory / CONVERSION_FACTOR, NoDecimals) _
& " (MB)" & vbCrlf & _
"Total Physical Memory : " & FormatNumber(objSWbemObject.TotalPhysicalMemory / CONVERSION_FACTOR, NoDecimals) _
& " (MB)" & vbCrlf & _
"Total Page File Space : " & FormatNumber(objSWbemObject.TotalPageFileSpace / CONVERSION_FACTOR, NoDecimals) _
& " (MB)" & vbcrlf & vbcrlf & "PRINTERS CURRENTLY MAPPED: " & VbCrLf & VbCrLf & UCASE(StrPrintStatus) & "NETWORK DRIVES CURRENTLY MAPPED: " & VbCrLf & VbCrLf & UCASE(StrDrivePath)