Remove stale comments from helper scripts
This commit is contained in:
parent
aabf4d689c
commit
88d2b3676f
|
@ -4,8 +4,6 @@ $objUser = $objSID.Translate([System.Security.Principal.NTAccount])
|
|||
|
||||
$grant = "$objUser,Full"
|
||||
|
||||
# First we split the defs string by commas to get
|
||||
# each group of parameters
|
||||
for ($i=0; $i -le $args.length; $i = $i + 3) {
|
||||
$path = $args[$i]
|
||||
$share_name = $args[$i+1]
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# Share names are comma delimited
|
||||
ForEach ($share_name in $args) {
|
||||
$result = net share $share_name /DELETE
|
||||
if ($LastExitCode -ne 0) {
|
||||
|
|
Loading…
Reference in New Issue