net view |
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, 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:
net view \\bach.mtitworld.com
You can also use the computer's IP address.
Notes
If you try to view the shared resources on a computer and get a
System Error 51 or 53 message, File and Printer Sharing for Microsoft
Networks isn't enabled on the computer or its
appropriate network interface.
See Also
net file, net session,
net share, net use,
Shared Folders