0% found this document useful (0 votes)
145 views2 pages

Net View - Net Session - Net File - Net Use - Windows CMD - SS64

Uploaded by

xavierfelix07
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
145 views2 pages

Net View - Net Session - Net File - Net Use - Windows CMD - SS64

Uploaded by

xavierfelix07
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 2

5/30/2017 net view / net session / net file / net use ­ Windows CMD ­ SS64.

com

(  SS64  ) CMD Syntax Search

NET.exe VIEW
The NET Command is used to manage File Shares, Printer Shares and sessions.

Syntax 
      NET VIEW [\\computername [/CACHE] | [/ALL] | /DOMAIN[:domainname]] 

Key 
   /ALL            Display all the shares including the $ shares. 
   /CACHE          Display the offline client cache settings for resources on the specified computer. 
   computername    A computer whose shared resources you want to view.  
   domainname      The domain to view, by default all domains in the LAN.

Net View / ALL allows you to enumerate all the shares on a remote computer, similar to the ShareUI.dll utility that was available for
Windows NT/XP.

Examples

Display a list of computers in the current domain: 
NET VIEW 

List the File/Printer shares on a remote computer: 
NET VIEW \\ComputerName

List the shares on a remote computer including hidden shares: 
NET VIEW \\ComputerName /All 

List all the shares in the domain: 
NET VIEW /DOMAIN 

To see a list of shares on a different domain: 
NET VIEW /DOMAIN:domainname 

List the shares on a remote Netware computer: 
NET VIEW /NETWORK:NW [\\ComputerName]

Display a list of local shares, the Share Name, full path to the resource being shared and any comment/remark: 
NET SHARE sharename 

Some NET commands will require elevation.

“The belief that oneʹs own view of reality is the only reality is the most dangerous of all delusions” ~ Paul Wa lawick 

Related: 

NET ­ Manage network resources 
NET USE ­ connect to a file share (Drive MAP) 
OPENFILES ­ List or disconnect open files, local or remote (requires elevation) 
PsFile ­ Show files opened remotely 
PsLoggedOn ­ Who's logged on  
Equivalent bash command (Linux): users ­ Users currently logged in, who currently logged in

https://ss64.com/nt/net­view.html 1/2
5/30/2017 net view / net session / net file / net use ­ Windows CMD ­ SS64.com
  Copyright © SS64.com 1999­2017
Some rights reserved

https://ss64.com/nt/net­view.html 2/2

You might also like