Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+21 votes
asked in CSC335_Spring2019 by (1 point)
edited by

2 Answers

+6 votes
Best answer

I have found this answer: the net view command only displays devices with file and printer sharing enabled. More in-depth list below:

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:google.com will list all of the sharing computers in the google.com domain
net view /all /domain shows all shares (regular and administrative) in the domain

***note: this can* be blocked for non-admin users (which is why it doesn't work on some networks or will simply say that a network path was not found

answered by (1 point)
+6 votes

You will notice in a red box instruction that they can vary over time.

answered by (1 point)