add script

This commit is contained in:
2021-05-27 17:21:33 -04:00
parent ce824e74e7
commit 119d877d40
2 changed files with 18 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
## Specify the URL to download 4K Video Downloader from
$URL = 'https://dl.4kdownload.com/app/4kvideodownloader_4.16.0_x64.msi'
## Install Adobe Connect
If ( IsURLValid $URL ) {
LogMsg "Downloading installer from ${URL}"
$INSTALLER = Download-File -URL $URL
Try { Start-Process "msiexec.exe" -ArgumentList "/i ${INSTALLER} /qn /norestart" -Wait }
Catch { LogErr $_.Exception.Message }
LogMsg "Deleting downloaded installer from ""${INSTALLER}"""
Try { Remove-Item -Path $INSTALLER -Force -ErrorAction SilentlyContinue }
Catch { LogErr $_.Exception.Message }
}
Else { LogMsg "URL is not valid: ${URL}" }
+2
View File
@@ -0,0 +1,2 @@
. $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/Tools.ps1')))
Run-Script -LivePSScript Install-4KVideoDownloader