changed function GetTempPath to Get-TempPath
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# NOTE: The $CONFIG variable must be set by the calling script
|
||||
|
||||
# Set path to temp directory
|
||||
$TEMPDIR = '{0}eset-protect-deployment' -f (GetTempPath)
|
||||
$TEMPDIR = '{0}eset-protect-deployment' -f (Get-TempPath)
|
||||
|
||||
# Recursively delete $TEMPDIR if it already exists
|
||||
If ( Test-Path $TEMPDIR ) {
|
||||
|
||||
Reference in New Issue
Block a user