changed function GetTempPath to Get-TempPath
This commit is contained in:
@@ -12,7 +12,7 @@ Function SourceTools
|
||||
. SourceTools
|
||||
|
||||
## Build the path for $AGENT_INSTALLER
|
||||
$AGENT_INSTALLER = '{0}{1}' -f (GetTempPath), $AGENT_FILENAME
|
||||
$AGENT_INSTALLER = '{0}{1}' -f (Get-TempPath), $AGENT_FILENAME
|
||||
|
||||
## Get the right path to agent.exe based on the system bit-level
|
||||
If ( Is64bit ) { $AGENT_EXE = "${Env:ProgramFiles(x86)}\N-able Technologies\Windows Agent\bin\agent.exe" }
|
||||
|
||||
Reference in New Issue
Block a user