VBS Script To Issue The Nslookup Command Against A Remote Machine

 

Here you will find a VBS script that will allow you to issue the NsLookUp command against a remote machine.

 

NsLookUp Script:

 

strComputer = InputBox("Enter Machine Name")

Set objShell = CreateObject("Wscript.Shell")

 

strCommand = "%Comspec% /k NsLookUp " & strComputer

objShell.Run strCommand

 

 

 

Published Sunday, June 22, 2008 1:04 PM by dhite
Filed under:

Comments

No Comments