changed function GetTempPath to Get-TempPath
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
$URL = Get-AbsoluteURI -URL 'https://www.autodesk.com/adsk-connect-64?'
|
||||
|
||||
# Set the local file name to download to
|
||||
$FILE = '{0}{1}' -f (GetTempPath),(Split-Path $URL -Leaf)
|
||||
$FILE = '{0}{1}' -f (Get-TempPath),(Split-Path $URL -Leaf)
|
||||
|
||||
# Download installer
|
||||
Download-File -URL $URL -File $FILE
|
||||
|
||||
Reference in New Issue
Block a user