The net view command in Windows is used to display a list of shared resources on a remote machine. When combined with the /all flag, it provides additional details about hidden and administrative shares.
Command Reference:
Target Host: fs01
Flags: /all (show all shares, including hidden ones)
net view \\fs01 /all
net view #Get a list of computers
net view /all /domain [domainname] #Shares on the domains
net view \\computer /ALL #List shares of a computer
net share #Check current shares