Skip to content

Instantly share code, notes, and snippets.

@FatihDurmus
Last active April 17, 2021 16:18
Show Gist options
  • Save FatihDurmus/f8a487a81765205d2e09af9a4f4f839e to your computer and use it in GitHub Desktop.
Save FatihDurmus/f8a487a81765205d2e09af9a4f4f839e to your computer and use it in GitHub Desktop.
$filex = Get-ChildItem C:\somewhere\anotherfolder\anotherfolder\lastfolder\ -recurse -Filter *coolfile.exe
$ShellExp = New-Object -ComObject Shell.Application
$ShellExp.open("{$filex} http://speedtest.tele2.net/10MB.zip %appdata%\101x.zip")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment