Welcome!

By registering with us, you'll be able to discuss, share and exchange private messages with other members of our community.

SignUp Now!

Directory listing of HTTPS site

Aug
1,833
61
As an example, create a file test.ps1 with the following;
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
 
Back
Top