Open andikasp10 opened 3 years ago
$VLC_URL = "https://download.videolan.org/vlc/last/win64/"; $DOWNLOAD_DIR = "C:\users\qwiklabs\Downloads\"; $GET_HTML = Invoke-WebRequest $VLC_URL; $FILE = $GETHTML.Links | Select-Object @{Label='href';Expression={@{$true=$.href}[$_.href.EndsWith('win64.exe')]}} | Select-Object -ExpandProperty href; $URL = ($VLC_URL+$FILE); $OUTPUT_FILE = ($DOWNLOAD_DIR+$FILE); (new-object System.Net.WebClient).DownloadFile($URL, $OUTPUT_FILE); cmd.exe /c "$OUTPUT_FILE /S"
cmd.exe /c '"C:\Program Files\GIMP 2\uninst\unins000.exe" /VERYSILENT /NORESTART'
$VLC_URL = "https://download.videolan.org/vlc/last/win64/"; $DOWNLOAD_DIR = "C:\users\qwiklabs\Downloads\"; $GET_HTML = Invoke-WebRequest $VLC_URL; $FILE = $GETHTML.Links | Select-Object @{Label='href';Expression={@{$true=$.href}[$_.href.EndsWith('win64.exe')]}} | Select-Object -ExpandProperty href; $URL = ($VLC_URL+$FILE); $OUTPUT_FILE = ($DOWNLOAD_DIR+$FILE); (new-object System.Net.WebClient).DownloadFile($URL, $OUTPUT_FILE); cmd.exe /c "$OUTPUT_FILE /S"