Question
Thread display: Collapse - |
All Answers
Start or search
Create a new discussion
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
How to get share info from a list of servers?
********************************************************************************************
@Echo off
Title Share Lister
Echo.Please wait
for /f "usebackq delims=" %%A in ("comp.txt") do (
ECHO #############################################
Echo %%A
RMTSHARE.exe \\%%A
)>>Share.csv
********************************************************************************************
Our problem is we need to also get the share and security permissions for the shares which we do not seem to be able to do.
Any ideas out there on how we could use RMTShare to do this or does anyone have a vbscript that we could use? Any help would be appreciated guys, we have a few thousand shares per server and it makes it rather difficualt to gather all the data manually.