I’m just going to leave this here:
((Invoke-WebRequest -Uri https://api.icndb.com/jokes/random).Content | ConvertFrom-Json).Value.Joke
I’m just going to leave this here:
((Invoke-WebRequest -Uri https://api.icndb.com/jokes/random).Content | ConvertFrom-Json).Value.Joke
If you need to know when a server’s public certificate will expire, use this:
dir Cert:\LocalMachine\my | where {$_.issuer -notlike "*DC=*"} | fl subject,friendlyname,notafter
This assumes that your internal Certification Authority has an LDAP name (Windows based CAs usually do), so we’re looking for certificates NOT issued by such a CA. The next step would then of course be to automate this, for example have this script run on a daily basis, read what’s in the “NotAfter” property and alert an administrator 30 days in advance to make sure transitioning to a new certificate will not cause the service to be interrupted.
Good morning and happy new year!
It just occurred to me that this could be the year where I win the lottery. Of course first I would have to play in the lottery, and then there’s the small matter of hitting the right numbers.
Hello there
This is probably going to be a mini-rant. If you’re not into that sort of things, then please go on, there’s nothing to see here. Continue reading
Recently I noticed that my backups were failing. I’m using Windows Server Backup with iSCSI LUNs mapped to individual servers. After looking at a server, I saw that the iSCSI LUN was no longer present on the server.
A while ago I finally gave up on Windows Media Center because of too many issues, mainly video driver in combination with HDCP sillyness. I’m over it now, having found XBMC as a more than worthy alternative. Continue reading