Hallo World,
A simple question, is there a way to change a computer name using VBScript?
Thanx in Advance
Printable View
Hallo World,
A simple question, is there a way to change a computer name using VBScript?
Thanx in Advance
No,
You cannot change the computername through VBscript. You can only get the computername.
VB Code:
'Microsoft example: Set objNet = WScript.CreateObject("WScript.Network") WScript.Echo objNet.ComputerName
Hope this helps.