How To Obtain IP Addresses Of Remote Desktop Clients With PowerShell

If you’ve ever managed a terminal server or RDS chances are there has been a need to identify the IP address of connected clients. Task manager gives us the client hostname but sometimes DNS can have stale entries or the client can be on the remote side of a VPN. We can use tools…

Exploring IP GeoLocation With PowerShell

IP Geolocation is the mapping of an IP address to its geographical location, typically a country, state, or city. We can be confident that an IP block allocated by a regional internet registry (e.g, APNIC) to an Australian ISP will mean that IP range will be assigned to a service…

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…