Dim WshShell, strTmp
Set WshShell = WScript.CreateObject("WScript.Shell")
strTmp="[TOE Check]-HKLM\System\CurrentControlSet\Services\Tcpip\Parameters**" & vbcrlf 
strTmp=strTmp & "*EnableRSS= " & 	WshShell.RegRead("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\EnableRSS") & vbcrlf
strTmp=strTmp & "*EnableTCPA= " & 	WshShell.RegRead("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\EnableTCPA") & vbcrlf
strTmp=strTmp & "*EnableTCPChimney= " & 	WshShell.RegRead("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\EnableTCPChimney") & vbcrlf
strTmp= strTmp & vbcrlf & "*************************************************" & vbcrlf
strTmp=strTmp & vbcrlf & "[Rackspace Cert]-HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate"
strTmp=strTmp & vbcrlf & "*AcceptTrustedPublisherCerts= " & WshShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\AcceptTrustedPublisherCerts") & vbcrlf

strTmp= strTmp & vbcrlf & "*************************************************" & vbcrlf

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colPageFiles = objWMIService.ExecQuery("Select * from Win32_PageFile")
strTmp=strTmp & vbcrlf & "[PageFile Check]"   
For Each objPageFile in colPageFiles
    strTmp= strTmp & vbcrlf &  "PageFile Drive= " & ucase(objPageFile.Drive) & vbcrlf &  " PageFileMin/Max Size: " & objPageFile.InitialSize & "/" &  objPageFile.MaximumSize & "mb"
    strTmp=strTmp & vbcrlf
Next

'strTmp= strTmp & vbcrlf & "*************************************************" & vbcrlf

Computer="."
gbconversion=1000000000
Set objWMIService = GetObject("winmgmts://" & Computer)
Set colLogicalDisk = objWMIService.InstancesOf("Win32_LogicalDisk")

For Each objLogicalDisk In colLogicalDisk
   if objLogicalDisk.drivetype=3 then
	strTmp= strTmp & vbcrlf & "*************************************************" & vbcrlf & objLogicalDisk.DeviceID & " * " & _
 	round((objLogicalDisk.size/gbconversion),3) & " GB Disk" & " * " & _
 	round((objLogicalDisk.freespace/gbconversion),3) & " GB Free" & " * " & _
 	"**" & round((objLogicalDisk.freespace/gbconversion)/(objLogicalDisk.size/gbconversion)*100,2) & "% free"
   end if
Next

strTmp= strTmp & vbcrlf & "*************************************************" & vbcrlf
strTmp = strTmp & "[Members of the Administrator Group]" & vbcrlf
strGroup = "Administrators"
Set objGroup = GetObject("WinNT://./" & strGroup & ",group")
For Each objUser In objGroup.Members
    strTmp=strTmp &  objUser.Name & " - " & objUser.Class &vbcrlf
Next

strTmp= strTmp & vbcrlf & "*************************************************" & vbcrlf
strTmp = strTmp & "[WSUS Info]" & vbcrlf

strTmp=strTmp & "WUStatusServer in Registry = " &  WshShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\WUStatusServer")

Set objGroup = Nothing
wscript.echo strTmp
