Files
management-scripts/Install-AutodeskDesktopConnector.ps1
T

17 lines
538 B
PowerShell
Raw Normal View History

2023-01-04 10:42:02 -05:00
. 'C:\Users\dyoder\Documents\Emberkom\Data\Projects\development\management-scripts\Tools.ps1'
2022-04-28 13:51:31 -04: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
## Make sure the URL is valid before we do anything
If ( IsURLValid $URL )
{
## Set the local file name to download to
$FILE = '{0}{1}' -f (GetTempPath),(Split-Path $URL -Leaf)
2023-01-04 10:42:02 -05:00
write-output $FILE
2022-04-28 13:51:31 -04:00
## Download installer
2023-01-04 10:42:02 -05:00
#Download-File -URL $URL -File $FILE
2022-04-28 13:51:31 -04:00
## Install package
2023-01-04 10:42:02 -05:00
#Start-Process $FILE
}