- Aug
- 2,320
- 111
As an example, create a file test.ps1 with the following;
Run test.ps1
...which returns a directory listing of the HTTPS site.
Joe
Code:
$r=Invoke-Webrequest -Uri "https://ftp.mozilla.org/pub/firefox/releases/"
$r.Links.href
Run test.ps1
Code:
powershell.exe -file test.ps1
...which returns a directory listing of the HTTPS site.
Joe