?
Solved

Is there anyway to print out file shares for a network drive?

Posted on 2013-02-07
7
Medium Priority
?
202 Views
Last Modified: 2013-02-15
I need to print out the shares that are on a network drive so that when I replace the server, which is a windows 2008 server, connected to a san. I can then setup the shares again once the new server is backup.
Is there any freeware utility out there to do this or can I do it from windows?
0
Comment
Question by:vmich
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 25

Expert Comment

by:SStory
ID: 38863836
From the command prompt:

net use
0
 
LVL 25

Expert Comment

by:SStory
ID: 38863845
Maybe just as well, go to Computer Management,
in the Shares folder, click Shares, then take s screenshot.
0
 
LVL 25

Expert Comment

by:SStory
ID: 38863851
If you mean all shares and all perms, here is a script on that:
http://www.winvistatips.com/script-list-shares-permissions-t760040.html
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 1

Author Comment

by:vmich
ID: 38863861
What is the option to use with net use to display all the share, including the shares in the sub folders?
0
 
LVL 25

Accepted Solution

by:
SStory earned 2000 total points
ID: 38864698
I'm not sure what you mean? A share is just a share.  Are you meaning, list a share and then list all subfolders of that share?  

You can also do this from powershell
http://technet.microsoft.com/en-us/library/ee177003.aspx
gwmi -class Win32_Share

OK. I think if you are on the local server you'd do the following:
net share

That will list shares and file paths.
Output that to a text file and make a quick and dirty batch file.
Example:

ImageStore   E:\ImageStore                  
Accounting    E:\Accounting

Make that be:
dir /s E:\ImageStore >list.txt
dir /s E:\Accounting >>list.txt

etc.

This will build a list.txt file that will have all of the subdirectories of those shares.
0
 
LVL 82

Expert Comment

by:David Johnson, CD, MVP
ID: 38866910
no points:  net use will only show shares that are being used by a client
net share from a server will list out all of the shares.  Oops was mentioned above
0
 
LVL 1

Author Closing Comment

by:vmich
ID: 38893222
solved
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A safe way to clean winsxs folder from your windows server 2008 R2 editions
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question