First foray into Cisco Nexus gear

We’ve just some Nexus 3548-X switches and being my first hands on experience with these devices this post will serve as a small notebook of things I’ve deemed worth jotting down. Interface Naming and Status The first thing which stood out was that all interfaces are named . As…

Quick and Dirty VMware vApp Resource Share Auditing

Nope, this isn’t yet another blog post explaining resource pools. By now everyone should know how they work, and if not, you’ve been linked to 99% of what there is to know. We should also all know that vApps act exactly like resource pools, so when they’re created, or have VMs…

Enabling PSRemoting with a GPO

I believe PSRemoting to be one of the most exciting features of PowerShell, it allows us to execute scripts and code on remote machines and even open full PowerShell sessions (think SSH in the Windows world). Better than SSH, we can execute locally written functions on the remote…

Obtain total used storage capacity with PowerCLI

One of my recent tasks involved taking a SAN out of action for maintenance and I needed to ensure the remaining SANs had enough capacity to run all of our VMs. I could have simply looked at the used space in the vSphere GUI, but this includes powered off VMs which I wasn’t…

A Tale of MySQL and SQLAlchemy

I recently got myself into a little bit of trouble when I ran some buggy code against a database. It was for a personal project to develop my skills with the Flask framework so I was being quite lax with testing. To cut a long story short, functionality which was designed to make…

Shaping Outbound Traffic on Cisco IOS

Traditionally tape drives have been used to ensure a company has offsite backups, however, with the relatively recent explosion of cloud services, and higher bandwidth Internet connectivity, it is now much more common to push your offsite backups through the WAN. Further, with…

Creating Classes and Objects in PowerShell

With release of PowerShell 5 in Server 2016 and Windows 10 adding custom classes has been made simpler with the new Class functionality, however, for those of us working on older versions we need to resort to the old way of embedding C#. For the sake of keeping examples simple…