Skip to main content

Posts

Showing posts from November 21, 2008

Useful commands for Windows Administrators

Useful commands for Windows Administrators Notes: (1) Commands that use external, or third party, or non-native utilities contain hyperlinks to these utilities' download sites. (2) Replace command arguments displayed in italics with your own values. (3) Commands or utilities that require Windows Server 2003 are marked bright blue. How many users are logged on/connected to a server? Sometimes we may need to know how many users are logged on to a (file) server, like maybe when there is a performance degradation.At the server's console itself, with native commands only: NET SESSION FIND /C "\\" Remotely, with the help of SysInternals ' PSTools : PSEXEC \\servername NET SESSION FIND /C "\\" By replacing FIND /C "\\" by FIND "\\" (removing the /C switch) you'll get a list of logged on users instead of just the number of users. Who is logged on to a computer? We often need to know who is currently logged on to a remote computer.With n