Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Identifying Windows file share names

by Anonymous Monk
on Oct 29, 2018 at 22:06 UTC ( #1224890=note: print w/replies, xml ) Need Help??


in reply to Identifying Windows file share names

maybe
use IPC::Run3 qw(run3); run3 ["NET","VIEW","\\\\servername","/all"], undef, \$stdout; die $? if $?; print "Output:\n$stdout\neof\n";
untested

Replies are listed 'Best First'.
Re^2: Identifying Windows file share names
by Anonymous Monk on Oct 29, 2018 at 22:28 UTC
    I don't think that will get the volumes per se, just the named shares.
      volumes? show me where the OP said something about volumes. OP said

      I'm looking for a method where I can ask each server for it's top level share names.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1224890]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2019-12-07 03:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (160 votes). Check out past polls.

    Notices?