Name
net view
Synopsis
Lists domains, computers, and shared resources.
Syntax
net view [\\computername [/cache] | /domain[:domainname] ] net view /network:nw [\\computername]
Options
-
none
Lists computers in current domain.
-
\\
computername
Represents the computer whose shared resources you want to display.
-
/domain[:
domainname
]
Represents the domain whose available computers you want to display. (To display all domains on the network, just omit
domainname
.)-
/network:
nw
Shows available servers on a NetWare network, or if a computer name is specified, then the resources available on that computer.
Examples
List all available computers in current domain:
net view
Server Name Remark
---------------------------------------------
\\TEST Hello
The command completed successfully.
List all available domains:
net view /domain
Domain
---------------------------------------------
MTIT
MTITCANADA
MTITCORP
MTITWORLD
The command completed successfully.
List available computers in MTITWORLD domain:
net view /domain:mtitworld
Server Name Remark
--------------------------------------------
\\BACH
The command completed successfully.
List shared resources on BACH in MTITWORLD domain:
net view \\bach
Shared resources at \\bach
Share name Type Used as Comment
-------------------------------------------------
NETLOGON Disk Logon server share
one Disk
source Disk
SYSVOL Disk Logon server share
test2 Disk
test3 Disk
y1 Disk
y2 Disk
y3 Disk
The command completed successfully.
You can get the same result with:
Get Windows 2000 Administration in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.