mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
Update manage-osqueryd.ps1 (#3008)
This commit is contained in:
parent
6781059d9b
commit
d5f0ab89ae
@ -18,7 +18,7 @@ param(
|
||||
)
|
||||
|
||||
$kServiceName = "osquery daemon service"
|
||||
$kServiceBinaryPath = Resolve-Path ([System.IO.Path]::Combine($PSScriptRoot, '..', 'build', 'windows10', 'osquery', 'Release', 'osqueryd.exe'))
|
||||
$kServiceBinaryPath = Resolve-Path ([System.IO.Path]::Combine($PSScriptRoot, '..', 'osquery', 'osqueryd', 'osqueryd.exe'))
|
||||
|
||||
# Adapted from http://www.jonathanmedd.net/2014/01/testing-for-admin-privileges-in-powershell.html
|
||||
function Test-IsAdmin {
|
||||
@ -128,4 +128,4 @@ function Main {
|
||||
}
|
||||
}
|
||||
|
||||
$null = Main
|
||||
$null = Main
|
||||
|
Loading…
Reference in New Issue
Block a user