10-21-2014, 11:52 PM
you can get the computer name using the below code
Then from there you can take it forward I guess let me know if you need any more help
Code:
Set WshNetwork = CreateObject("WScript.Network")
ComputerName = WshNetwork.ComputerName
Thanks,
SUpputuri
SUpputuri