Home



Friday, August 6, 2010

Scripts

Ipconfig Script

Set objShell = CreateObject("WScript.Shell")
Set objScriptExec = objShell.Exec("ipconfig /all")
strIpConfig = objScriptExec.StdOut.ReadAll
WScript.Echo strIpConfig

Note :

ipconfig /all --also try netstat

stripconfig can be any string

No comments: