VB Script to check special permission for shared folders in different servers.
-
13. března 2012 10:18
Hello,
I need a VB script, that should check and display whether the shared folder in a server has a Special permission.
Only displaying Special permission is very helpful for me..
Please help me on this.
Thanks in advance
Všechny reakce
-
13. března 2012 10:46
You could have a look at this script, just filter the output you get from this script to only list the special permissions:
http://gallery.technet.microsoft.com/scriptcenter/405a12f6-fb57-4078-92fc-ff495f3e98be
- Navržen jako odpověď Richard MuellerMVP, Moderator 17. března 2012 20:12
- Označen jako odpověď Richard MuellerMVP, Moderator 20. března 2012 15:27
-
13. března 2012 11:17
I always use Xcacls to look at file permissions. Something like
strcommand = "c:\xcacls.exe \\server\path"
Set objWshScriptExec = objShell.Exec(strcommand)
Set objStdOut = objWshScriptExec.StdOutDo Until objStdOut.AtEndOfStream
Put scripting for testing the output.
Loop
- Navržen jako odpověď Richard MuellerMVP, Moderator 17. března 2012 20:12
- Označen jako odpověď Richard MuellerMVP, Moderator 20. března 2012 15:27