Files
management-scripts/Install-AutodeskDesktopConnector.ps1

11 lines
312 B
PowerShell

# Define URL for downloading the installer
$URL = Get-AbsoluteURI -URL 'https://www.autodesk.com/adsk-connect-64?'
# Set the local file name to download to
$FILE = '{0}{1}' -f (Get-TempPath),(Split-Path $URL -Leaf)
# Download installer
Download-File -URL $URL -File $FILE
# Install package
Start-Process $FILE