Announcement

Collapse
No announcement yet.

Create a batch file to dump permissions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • iupetre
    replied
    Re: Create a batch file to dump permissions

    FOUND IT!

    It's /rpt=allsharedirs That's the variable I needed.

    Leave a comment:


  • iupetre
    replied
    Re: Create a batch file to dump permissions

    <div class="ubbcode-block"><div class="ubbcode-header">Quote:</div><div class="ubbcode-body">Originally posted by cmccullough:
    <span style="font-weight: bold">The help file has a section called Command Line Options, but basically for permissions reports it's:

    /rpt=\\computer\sharepath

    </span></div></div>

    Well, I thank you very much for you help, but I will continue looking. I might just have to do via the GUI on every machine. Not what I was hoping. =/

    Leave a comment:


  • cmccullough
    Guest replied
    Re: Create a batch file to dump permissions

    The help file has a section called Command Line Options, but basically for permissions reports it's:

    /rpt=\\computer\sharepath

    Leave a comment:


  • iupetre
    replied
    Re: Create a batch file to dump permissions

    <div class="ubbcode-block"><div class="ubbcode-header">Quote:</div><div class="ubbcode-body">Originally posted by cmccullough:
    <span style="font-weight: bold">That looks like the command you need. Just put one line per computer in your batch file and run your batch file.</span></div></div>

    Aye, but it's not.

    That command is the same as Report > Dump Users as Column.

    I need to change /rpt=usercol to something else, but I don't know what.

    [This message has been edited by iupetre (edited 02-11-2009).]

    Leave a comment:


  • cmccullough
    Guest replied
    Re: Create a batch file to dump permissions

    That looks like the command you need. Just put one line per computer in your batch file and run your batch file.

    Leave a comment:


  • iupetre
    replied
    Re: Create a batch file to dump permissions

    <div class="ubbcode-block"><div class="ubbcode-header">Quote:</div><div class="ubbcode-body">Originally posted by cmccullough:
    <span style="font-weight: bold">Are you using one of our products currently?</span></div></div>

    Yes, Hyena and DUMPSEC. I know that in the DUMPSEC GUI, you can click Report > Dump Permissions for All Shared Directories.

    I would like to do this on about 100 computers.

    Similar to
    C:\DUMPSEC.EXE /computer=\\computer1 /rpt=userscol /saveas=csv /outfile=C:\Computer1.txt
    I'm pretty sure there is a command for this that I can just past into notepad to make a batch file, but I don't know what that command is.

    [This message has been edited by iupetre (edited 02-11-2009).]

    Leave a comment:


  • cmccullough
    Guest replied
    Re: Create a batch file to dump permissions

    Are you using one of our products currently?

    Leave a comment:


  • iupetre
    started a topic Create a batch file to dump permissions

    Create a batch file to dump permissions

    I would like to create a batch file to dump permissions for all shared directories for multiple computers on a network.

    Even if the batch file is as simple as
    dump perms \\computer1 to computer1.txt
    dump perms \\computer2 to computer2.txt
    etc...

    Thanks in advance,

    Jeff
Working...
X