net view


net view

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, 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



Windows Server 2003 in a Nutshell
Windows Server 2003 in a Nutshell
ISBN: 0596004044
EAN: 2147483647
Year: 2003
Pages: 415
Authors: Mitch Tulloch

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net