Pages

Showing posts with label vbscript for computer name. Show all posts
Showing posts with label vbscript for computer name. Show all posts

Monday 29 August 2011

Get ComputerName + VBScript

Set oNetwork = CreateObject("WScript.Network")
sComputerName = oNetwork.ComputerName
MsgBox("ComputerName = " & sComputername)