Remove stale comments from helper scripts

This commit is contained in:
Chris Roberts 2017-12-21 10:19:28 -08:00
parent aabf4d689c
commit 88d2b3676f
2 changed files with 0 additions and 3 deletions

View File

@ -4,8 +4,6 @@ $objUser = $objSID.Translate([System.Security.Principal.NTAccount])
$grant = "$objUser,Full" $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) { for ($i=0; $i -le $args.length; $i = $i + 3) {
$path = $args[$i] $path = $args[$i]
$share_name = $args[$i+1] $share_name = $args[$i+1]

View File

@ -1,4 +1,3 @@
# Share names are comma delimited
ForEach ($share_name in $args) { ForEach ($share_name in $args) {
$result = net share $share_name /DELETE $result = net share $share_name /DELETE
if ($LastExitCode -ne 0) { if ($LastExitCode -ne 0) {