Multithreading In PowerShell - Running A Specific Number Of Threads

In this post we’re aiming to accomplish in PowerShell what the previous post did in Python, which is to create a pool of threads to carry out a set of given tasks concurrently. The closest equivalent to what we achieved in Python can be accomplished in PowerShell using Runspace…

Multithreading In Python - Running A Specific Number Of Threads

One of the great things about Python is how easy it makes creating a pool of threads and assigning them tasks. A practical example would be if we’re looping through an array of 100,000 objects with each one containing a URL or IP address we need to hit, we wouldn’t want to…

Running PowerShell On AWS Lambda

Having previously written a few Amazon Echo Skills I knew AWS Lambda could run JavaScript and Python, but I recently found out it can also run PowerShell. Requirements PowerShell Core The first requirement is that only PowerShell Core 6 and later are supported. One advantage of…

Creating Network Diagrams with JavaScript

I had a bit of spare time and wanted to mess around with Cisco’s NeXt UI Toolkit, a JavaScript library which, amongst other things, provides functionality for generating network topology diagrams. Once we download and extract the library from the Cisco site, we’ll have 4 folders…

PowerShell Script To Generate New Blog Post For Gatsby

What previously ran on Hugo is now running on GatsbyJS. For no other reason than that I’ve found myself increasingly using GatsbyJS for both work and personal projects, so it made sense to move this site to a platform I was using elsewhere. To provide some background on the file…

Modifying RANCID To Work With IOS XE

I recently needed to add a few Cisco IOS XE routers into a fairly old RANCID 2.3.8 install. I found out rather quickly this wasn’t going to work. Older versions of RANCID force use of the 3des-cbc cipher, while the newer IOS XE versions don’t support this. This cipher mismatch is…

Powershell Calculated Properties As Variables

Most of us would be familiar with the normal syntax of calculated properties when used to change or add properties when piping an object through . In short, a calculated property is a hashtable containing the name of the property to return, and an expression in the form of a…