Removed commented blocks.

This commit is contained in:
Harmj0y 2015-12-14 22:00:21 -05:00
parent dae9d91fdb
commit 55fabd7e2e
1 changed files with 6 additions and 6 deletions

View File

@ -155,7 +155,7 @@ function Test-ServiceDaclPermission {
return $False return $False
} }
# try { try {
# retrieve DACL from sc.exe # retrieve DACL from sc.exe
$Result = sc.exe sdshow $TargetService.Name | where {$_} $Result = sc.exe sdshow $TargetService.Name | where {$_}
@ -208,11 +208,11 @@ function Test-ServiceDaclPermission {
} }
} }
return $False return $False
# } }
# catch{ catch{
# Write-Warning "Error: $_" Write-Warning "Error: $_"
# return $False return $False
# } }
} }
function Invoke-ServiceStart { function Invoke-ServiceStart {