A script to get a list of links off a given page. I found these two examples to start from: http://normansolutions.co.uk/post/using-powershell-to-check-all-pages-in-website, https://www.petri.com/testing-uris-urls-powershell. 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) { […]
Using Google domains with a dynamic IP
This is a script to read the current public IP and update your Google domain with the new IP- #get the current IP $url = “https://ifconfig.co/json” $ip = Invoke-RestMethod $url #send the new IP to Google $updateCommand = “https://username:[email protected]/nic/update?hostname=dynamic.domain.com&myip=$($ip.ip)” Invoke-RestMethod $updateCommand Here is some documentation on Google on how to change your DNS via API- https://support.google.com/domains/answer/6147083. The short […]
Setting time on Windows 2008
I have my AD DC set the time for my network. Since it’s not really that good at keeping time I had to set the DC to pull the time from the govn’ment. I set all this via command line in Windows 2008. I would cite where I got this from but didn’t note it […]
Large freighter – expanded gallery
I had a chance to take some additional photos of this ship. No changes to it though, you can check out the prior post for the details. You can also check it out in-progress, first pass or second pass.
Small Ship #4b
I was able to get back to this ship and rework the back end quite a bit. I took the time to clean up the front cover too.