Skip to content

Instantly share code, notes, and snippets.

@jaycdave88
Created April 19, 2019 20:27
Show Gist options
  • Save jaycdave88/9134e3c5d8b596bf214ab87a628843fb to your computer and use it in GitHub Desktop.
Save jaycdave88/9134e3c5d8b596bf214ab87a628843fb to your computer and use it in GitHub Desktop.
$url = "https://notepad-plus-plus.org/repository/7.x/7.6.6/npp.7.6.6.Installer.exe"
$outpath = "C:/notepad++.exe"
$wc = New-Object System.Net.WebClient
$wc.DownloadFile($url, $outpath)
$args = @("Comma","Separated","Arguments")
Start-Process -Filepath "C:/notepad++.exe" -ArgumentList $args
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment