AppREPACK
All about Application Packaging, Virtualization and Deployment
Pages
Home
AppREPACK
Friday, 15 June 2012
Get ComputerName and Username - VBScript
Set oNetwork = CreateObject("WScript.Network")
sUserName = oNetwork.UserName
sComputerName = oNetwork.ComputerName
MsgBox("UserName = " & sUserName & vbCRLF & "ComputerName = " & sComputername)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment