Solved

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

Posted on 2013-02-07
7
200 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
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

 
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 500 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 81

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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

737 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