Managing Sympa (Mailing Lists) with PowerShell (v1.0)

If you are running (or use) the Sympa Mailing List but also use Windows PowerShell then you may want to be aware of PSSympa which recently went v1.0 on GitHub and the PowerShell Gallery. In this release we have… Functions Get-SympaLogin (to login and get a session cookie – the result of which is used with all other functions) Get-SympaMailingListMember… Read more

Enable Sophos Intercept X on computers already running Endpoint Protection (Sophos Central)

With the continued rise of ‘Next Generation’ Anti-Virus like Sophos Intercept X and PaloAlto Traps the question from many SysAdmins might be well how do I deploy these? If you are looking at Intercept X and you already are Running Sophos Central (with Endpoint Protection) the simple answer is a press a few buttons in the Admin Console. In short,… Read more

PowerShell script to download an RSS feed and alert when there are new posts

One of my favourite features of PowerShell is the Invoke-RestMethod cmdlet which (among a great many other things) can download the data from an RSS feed. One application I’ve found for this is to stay on top of security bulletins from organisations like Adobe and Drupal. However just downloading the data from the feed and kicking it out in an… Read more

When shutting down a Hyper-V virtual machine the Hyper-V replication state goes to critical

For the past few months I’ve been using an in house script to manage the rebooting of Virtual Machines on Hyper-V hosts following Windows Updates. These Virtual Machines also take part in Hyper-V Replica Replication to a DR host. On occasion I’ve spotted that when shutting down (as part of the reboot sequence) the Hyper-V Replica state will go into… Read more

HP Color LaserJet CP3505 Printer, after IP address change will not print

While carrying out the steps to move our network devices from a flat network to one with purposeful VLANs I had changed the IP address of one of our HP CP3505 printers (using the web based management console) to discover that with the new IP I could not print to the printer over the network. Oddly enough the web based… Read more

Synology DiskStation as a Backup Target for Windows PCs and Macs

As some readers may know I currently work in Higher Education and while all of the business data is trivial to backup providing any level of backup service to students and academics is significantly harder. The challenges faced include the myriad of Operating Systems in use (Windows/OSX/Linux), the fact that the devices being backed up are inherently ‘untrusted’ (i.e. owned by the… Read more

Flashing lights and HPE ProCurve/Aruba Switches (chassislocate)

When working with a lab full of HPE ProCurve/Aruba switches (or you just want to know who is who in a stack of switches) the chassislocate CLI command comes in really handy by either blinking or holding solid the blue locator light. See the screenshots below for a little more info. ” order_by=”sortorder” order_direction=”ASC” returns=”included” maximum_entity_count=”500″]

Aruba (by HPE) 2920s – pictures

It’s that magical time of the year where…new network switches arrive! Given that the new Aruba branding has taken full control of what was ProCurve I thought I should post some photos of the new paintwork. Happy to say the colour black isn’t half bad! Included in the images are J9729A 2920-48G-PoE+ J9728A 2920-48G J9731A 2920 2-Port 10Gbe SFP+ Module… Read more

Two super useful keyboard shortcuts in PowerShell ISE

So this post is a more a reminder to me than anything else but…having recently come across the Microsoft TechNet article ‘Keyboard Shortcuts for the Windows PowerShell ISE’ (https://msdn.microsoft.com/powershell/scripting/core-powershell/ise/keyboard-shortcuts-for-the-windows-powershell-ise) I thought it necessary to highlight the two keyboard shortcuts…. Ctrl + J – brings up a list of code snippet templates (e.g. try-catch-finally and do-until) Ctrl + M – expand or… Read more