Forcing SSL and TLS Protocols With PowerShell Invoke-WebRequest

In working on script to grab some data from a suppliers API I encountered some errors when running We can get further details with Having seen this before, I suspected the issue was due to mismatched TLS/SSL support. First step is to determine what protocols our suppliers API…

Auditing Group Membership Changes in AD

While Active Directory Security Auditing needs to be enabled for many changes in AD to be logged, changes to Global Security groups are logged by default. The events are logged in the log, under the Task Category of . Event ID 4737 is logged a when a global security group is…

Four Ways to Style React Components

The example component Let’s start off with a sample header component that has no styling. Method 1: Inline React allows us to put stying directly into our components. Assume we have a component which display some user contact data Method 2: In the component Javascript file This…

Create React App Cleanup

Some basic cleanup steps after creating a new project with create-react-app. Erase everything in but leave the file in place Delete and the import in Delete and the import in Remove everything inside the App component div in Create a folder inside

Deploying to Netlify With Powershell

For a while I’ve had on my todo list to migrate this site to something that doesn’t require a database backend - mostly for administrative simplicity, but also for security, ease of hosting, and performance. To this end I’ve migrated to Hugo, a static site generator. This has…

Classes in ES6

ES6 gave us the ability to create classes in Javascript without using prototypes. Class based components are commonly used in React as they allow state to be stored amongst other things. To instantiate a class: Subclasses Subclasses allow us to extend existing classes.

JavaScript Array Methods

Let’s spend a bit of time going over some common array methods in Javascript. forEach As the name implies, this loops over items in an array. Moving forward we will only use arrow functions. map Map works in a similar way to except that it returns an array, with the ability to…

Mounting A Server 2012 R2 Deduped Volume in Server 2016

Server 2016 includes a number of improvements to deduplication, which left me a wondering whether a deduped volume created in Server 2012 R2 can be mounted and read by Server 2016. Why would you want to do this? Well, my experience has been that dedupe in 2012 isn’t fantastic…