Wednesday, September 26, 2007

VB Script to get computer name from your workstation


Set WshNetwork = WScript.CreateObject("WScript.Network")
WScript.Echo "You Computer Name = " & WshNetwork.ComputerName


How to execute a VBScript

No comments: