changed function GetTempPath to Get-TempPath
This commit is contained in:
@@ -15,7 +15,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
|
||||
|
||||
# Download agent installer
|
||||
Download-File -URL $URL -File "${AGENT_INSTALLER}"
|
||||
|
||||
Reference in New Issue
Block a user