From c5d5fc29c28d1f884e9d68e173f60c955f231b13 Mon Sep 17 00:00:00 2001 From: Mark Mihevc Date: Mon, 30 Sep 2024 09:11:43 -0600 Subject: [PATCH] resetting log location path --- scripts/windows/InstallWindowsAgent.ps1 | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/windows/InstallWindowsAgent.ps1 b/scripts/windows/InstallWindowsAgent.ps1 index 018c9b7f4..363355114 100644 --- a/scripts/windows/InstallWindowsAgent.ps1 +++ b/scripts/windows/InstallWindowsAgent.ps1 @@ -17,9 +17,6 @@ $AGENT_INSTALLER_URL = "https://cdn02.jumpcloud.com/production/jcagent-msi-signe $AGENT_INSTALLER_PATH = "C:\windows\Temp\jcagent-msi-signed.msi" # JumpCloud Agent Installation Functions Function InstallAgent() { - if (!(Test-Path "C:\ProgramData\JumpCloud\Agent")) { - New-Item -ItemType Directory -Path "C:\ProgramData\JumpCloud\Agent" -Force - } msiexec /i $AGENT_INSTALLER_PATH /quiet /norestart JCINSTALLERARGUMENTS=`"-k $JumpCloudConnectKey`" /L*V "$TempPath\jcUpdate.log" } Function DownloadAgentInstaller() {