changed function GetTempPath to Get-TempPath

This commit is contained in:
2023-10-05 12:47:08 -04:00
parent 32b33cee34
commit 31a06a9206
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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 ) {