Make Link List with PowerShell

A script to get a list of links off a given page. I found these two examples to start from:¬†,¬† clear function get-URLlist($testPage, [int]$linkDepth){ #set the counter [int]$i = 0 #loop thru the list of links, going to sub-pages until the counter equals the given link depth while($linkDepth -gt $i) { foreach($link in $testPage.Links) { […]