Can someone please explain the difference between these commands.
net view
net view /all
net view /domain
net view /all /domain
windows
Can someone please explain the difference between these commands.
net view
net view /all
net view /domain
net view /all /domain
Best Answer
From
net help view
:So let's look at each.
net view
returns the computers in the current domain or network. This list will only show computers that have file and printer sharing enabled.net view /all
shows all shares available, including administrative shares like C$ and admin$net view /domain:contoso.com
will list all of the sharing computers in the contoso.com domainnet view /all /domain
shows all shares (regular and administrative) in the domainI'm not currently connected to a domain so unfortunately I can't provide you with examples.