7.2 Commands Flashcards

1
Q

Displays protocol statistics and current TCP/IP connections using NBT (NetBIOS over TCP/IP).

C:>nbtstat -a Lowercase ‘a’ used with NetBIOS name

C:>nbtstat –A Uppercase ‘A’ used with IP address

C:>nbtstat –n Lists local NetBIOS names

A

nbtstat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Displays protocol statistics and current TCP/IP network connections.

A

netstat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Powershell equivalent

Displays protocol statistics and current TCP/IP network connections

A

Get-NetTCPConnection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Displays a list of commands.

A

Net help

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

shows shared resources on the local machine and also enables a user to create shared resources.

Shares are folders on a local machine that have been made available by an administrator for viewing by the users on the network.

A

Net share

C:>net share utils=c:\tools Shares C:\toolsdirectory, naming the share utils

C:>net share utils /delete Deletes the share named utils

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

displays a list of resources being shared on a computer. When used without options, it displays a list of computers in the current domain or network.

A

Net view

C:>net view /domain: Lists computers in another domain/network

C:>net view \ Lists public shares on a remote system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

command lists sessions, in the form of mapped drives, made from the workstation.

A

Net use

C:>net use T: \ Maps a logical T:drive to UNC which is \\sharename

Including /persistent:yes reconnectsat next logon

C:>net use T: /delete Deletes logical T:drive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

lists recorded sessions made to the machine via the local server service. A successful session occurs when two computers are on the same network and the user has authenticated with credentials accepted by the server.

A

net session

C:>net session \
Displays details of a session

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

displays configuration information of the Workstation or Server service.

A

net config

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

updates the user accounts database and modifies password and logon requirements for all accounts.

A

net accounts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

built-in command-line tool used for DNS diagnostics, queries, and zone transfers.

Forward lookup using an A record:
C:>nslookup Constitution.starfleet.local

Reverse lookup using a PTR record:
C:>nslookup 192.168.0.10

A

Nslookup

> ls –d Cyber.com
Zone transfer forcyber.comzone

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Services can be viewed

A

tasklist /svc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

extremely powerful command-line tool that allows administrators to query and manage Active Directory objects.

A

Dsquery

How well did you know this?
1
Not at all
2
3
4
5
Perfectly