Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

download and install virtualbox with powershell

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;$vBoxURL = "https://download.virtualbox.org/virtualbox";Invoke-WebRequest -Uri "$vBoxURL/LATEST-STABLE.TXT" -OutFile "$env:TEMPvirtualbox-version.txt";$version = ([IO.File]::ReadAllText("$env:TEMPvirtualbox-version.txt")).trim();$vBoxList = Invoke-WebRequest "$vBoxURL/$version";$vBoxVersion =$vBoxList.Links.innerHTML;$vBoxFile = $vBoxVersion | select-string -Pattern "-win.exe";$vBoxFileURL = "$vBoxURL/$version/$vBoxFile";Invoke-WebRequest -Uri $vBoxFileURL -OutFile "$env:TEMP$vBoxFile";start-process ("$env:TEMP$vBoxFile") --silent;
Comment

PREVIOUS NEXT
Code Example
Shell :: installing ruby on rails ubuntu 20.04 
Shell :: mv command in linux to rename 
Shell :: openssl error with ruby 2.3.4 in ubuntu 
Shell :: apt source "--ignore-missing" 
Shell :: crontab reload 
Shell :: Install Pop Shell Window Tiling Extension on Ubuntu 20.04 
Shell :: install missforest 
Shell :: sqliteman linux 
Shell :: how to downoad website using httrack in kali linux 
Shell :: apt order by size 
Shell :: extract zip in collab 
Shell :: ng table angular 9 install 
Shell :: create a ew remote tracking branch 
Shell :: git checkout specific file types only 
Shell :: git init set upstream 
Shell :: are trying to install ruby-2.7.0 on heroku-20. remote: ! remote: ! Ruby ruby-2.7.0 is present on the following stacks: remote: ! remote: ! - heroku-18 
Shell :: vim error in ubuntu 
Shell :: github filter not label 
Shell :: how to run bash scripts from local machine to remote linux machine 
Shell :: ssh passwordless ssh-copy-id 
Shell :: sort numbers in bash 
Shell :: Failed to build logging Installing collected packages: logging Running setup.py install for logging ... error 
Shell :: TestStand enter non ascii 
Shell :: créer un fichier powershell 
Shell :: chown to current user 
Shell :: grep second match 
Shell :: bash only start a service if not running 
Shell :: git create new repo in git bash/ terminal 
Shell :: pmset cancel scheduled 
Shell :: Cannot open: https://centos7.iuscommunity.org/ius-release.rpm. Skipping 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =