added script

This commit is contained in:
2022-04-28 13:51:31 -04:00
parent df3a82260c
commit 956dc0e319
+15
View File
@@ -0,0 +1,15 @@
## Define URL for downloading the installer
$URL = 'https://efulfillment.autodesk.com/NetSWDLD/2020/DTCONN/2FF3C1A4-14EC-3C6D-B127-47327638CC14/SFX/Autodesk_Desktop_Connector_15_5_0_1684_Win_64bit.sfx.exe'
## 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)
## Download installer
Download-File -URL $URL -File $FILE
## Install package
Start-Process $FILE
}