Show the full name of the current network user

The following script allows you to see the full name of the current network user...

script


Set oNetwork = CreateObject("WScript.Network")
Set oUser = GetObject("WinNT://" & oNetwork.UserDomain & "/" & oNetwork.username)
WScript.echo oUser.Fullname

Simply run:

cscript GetCurrentNetworkUserFullName.vbs


Tag cloud

internet sicurezza apple tips and tricks sistemi operativi scripting downloads windows networking software scripts hardware open source linux microsoft informatica