April 2010 Archives
Have you ever needed to do some sort of repetitive task using the Windows command prompt? This is a cool program I really wasn't aware existed. Lets first create a text file name it myfile.txt and put in the following.
a,b,c
3,2,1
- net view /domain
Lists all domain groups - net view /domain:name
Shows list of all computers within the domain - net session
All systems connected to system
nbtstat - Shows a ton of information about its host, for example. nbstat -a backdesk
Will show:
Node IpAddress: [192.168.1.43] Scope Id: []
NetBIOS Remote Machine Name Table
Name Type Status
---------------------------------------------
BACKDESK <00> UNIQUE Registered
WORKGROUP <00> GROUP Registered
BACKDESK <20> UNIQUE Registered
WORKGROUP <1E> GROUP Registered
MAC Address = 00-13-72-CB-1E-86
Looking at the codes provided here, shows that the computer is a workstation server registered, running file service and browser service elections.
