MoonPoint Support Logo

 

Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
January
Sun Mon Tue Wed Thu Fri Sat
 
12
     
2007
Months
Jan


Fri, Jan 12, 2007 9:48 pm

Who is Logged On to a Computer - VBS Script

If you need to know whether anyone is logged into a remote computer in your domain or who that might be, you can use LoggedOn.vbs, a script I found at List User Logged On To A Remote Computer, which was written by Cheyenne Harden and is available at the LazyNetworkAdmin.Com website or from this site (see links below).

To use the utility, you can enter LoggedOn.vbs at the command line while in the directory where the file is located. A small window will open prompting you for the name of the computer to query.

Enter computer name

You will see the logged on user displayed in a small Windows Script Host window as shown below:

Logged on user 
displayed

If no one is logged on to the system, you will see "null" displayed in the small Windows Script Host window that opens.

Logged on user 
displayed

If you want the logged on user information displayed in a form that you can copy and paste into a document, you can use cscript /nologo LoggedOn instead. The results will then be displayed on the command line as below:

C:\Program Files\Utilities\Miscellaneous>cscript /nologo LoggedOn.vbs
solutions\pam

If no one is logged into the system, you will see "null" displayed on the command line.

C:\Program Files\Utilities\Miscellaneous>cscript /nologo LoggedOn.vbs
null

If the system can't be queried, you won't see an error message. Instead, you won't see anything displayed.

Information on other utilities to display the logged on user can be found at Who Is Logged On?.

LoggedOn.vbs
LoggedOn.zip

References:

  1. List User Logged On To A Remote Computer
    By Cheyenne Harden
    LazyNetworkAdmin.com
  2. Who Is Logged On?
    MoonPoint Support

[/languages/vbs/sysadmin] permanent link

Fri, Jan 12, 2007 8:10 pm

Creating an Alias Email Address on Exchange 2003 Server

You can create an alias on a Microsoft Exchange server so that an account can receive email for multiple email addresses. E.g., suppose John Smith in the sales department has an account in the domain with a userid of John. He would like to receive email whether it is addressed to john@example.com, jsmith@example.com, or sales@example.com. Perhaps there are several people who need to receive any email addressed to sales@example.com. You can attach an alias to an individual user account or you can set up a new group on the server and include all of the relevant user accounts in the group, so that they all get email addressed to the group name.

[ More Info ]

[/network/email/exchange] permanent link

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo