Powershell: Read links in an HTTP page and download all the links

Read the links in an HTTP page $url = “http://mirror.internode.on.net/pub/test/10meg.test” $output = “$PSScriptRoot\10meg.test” $start_time = Get-Date Invoke-WebRequest -Uri $url -OutFile $output Download Files with System.Net.WebClient $url = “http://mirror.internode.on.net/pub/test/10meg.test” $output = “$PSScriptRoot\10meg.test” $start_time = Get-Date $wc = New-Object System.Net.WebClient $wc.DownloadFile($url, $output) #OR (New-Object System.Net.WebClient).DownloadFile($url, $output) Write-Output “Time taken: $((Get-Date).Subtract($start_time).Seconds) second(s)” Download…

Continue reading

Cisco Unified SSL Issue with New Firefox

Issue Since the 30th of June of 2015, Mozilla Firefox doesn’t support connections to a server with weak Diffie-Hellman ciphers anymore (Mozilla Release Notes🙂 Solution Perform at your own risk. Accidental adjustment may effect Firefox’s performance. To fix type about:config in your Firefox web browser, in the address bar. Change…

Continue reading

Event Log – Event IDs

Common Event IDs on Server Side 4624 – An account was successfully logged on 4625 – An account failed to logon 4771 – Kerberos pre-authentication failed 4776 – The domain controller attempted to validate the credentials for an account   Sample Queries <QueryList> <Query Id=”0″ Path=”Security”> <Select Path=”Security”> *[System[(Level=1 or Level=2 or Level=3…

Continue reading