2023-01-06 13:22:18 -05:00
|
|
|
# Define URL for downloading the installer
|
2023-01-04 10:42:02 -05:00
|
|
|
$URL = Get-AbsoluteURI -URL 'https://www.autodesk.com/adsk-connect-64?'
|
2022-04-28 13:51:31 -04:00
|
|
|
|
2023-01-06 13:22:18 -05:00
|
|
|
# Set the local file name to download to
|
2023-10-05 12:47:08 -04:00
|
|
|
$FILE = '{0}{1}' -f (Get-TempPath),(Split-Path $URL -Leaf)
|
2022-04-28 13:51:31 -04:00
|
|
|
|
2023-01-06 13:22:18 -05:00
|
|
|
# Download installer
|
|
|
|
|
Download-File -URL $URL -File $FILE
|
2022-04-28 13:51:31 -04:00
|
|
|
|
2023-01-06 13:22:18 -05:00
|
|
|
# Install package
|
|
|
|
|
Start-Process $FILE
|