mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 20:53:06 +00:00
fixed startedAt
fixed bootstrapper ps script enhanced HelloDetector
This commit is contained in:
@@ -49,7 +49,6 @@ param(
|
||||
$AgentBasePath = "$env:ProgramData\AutopilotMonitor"
|
||||
$AgentBinPath = "$AgentBasePath\Agent"
|
||||
$AgentConfigPath = "$AgentBasePath\Config"
|
||||
$AgentRulesPath = "$AgentBasePath\Rules"
|
||||
$AgentSpoolPath = "$AgentBasePath\Spool"
|
||||
$AgentLogsPath = "$AgentBasePath\Logs"
|
||||
$TaskName = "AutopilotMonitor-Agent"
|
||||
@@ -59,7 +58,6 @@ $LogFile = "$AgentLogsPath\Bootstrap.log"
|
||||
New-Item -Path $AgentBasePath -ItemType Directory -Force -ErrorAction SilentlyContinue | Out-Null
|
||||
New-Item -Path $AgentBinPath -ItemType Directory -Force -ErrorAction SilentlyContinue | Out-Null
|
||||
New-Item -Path $AgentConfigPath -ItemType Directory -Force -ErrorAction SilentlyContinue | Out-Null
|
||||
New-Item -Path $AgentRulesPath -ItemType Directory -Force -ErrorAction SilentlyContinue | Out-Null
|
||||
New-Item -Path $AgentSpoolPath -ItemType Directory -Force -ErrorAction SilentlyContinue | Out-Null
|
||||
New-Item -Path $AgentLogsPath -ItemType Directory -Force -ErrorAction SilentlyContinue | Out-Null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user