How to upload files to Azure Blob Storage using Powershell via the REST API

When I need to upload files on Azure Blog Storage the tools that I generally use are Storage Explorer (installed on my workstation or the web version included in the portal) or AzCopy, but within a script, I would prefer using Azure RestAPI.
Before writing this article I searched similar blogs around this topic, the most interesting one was written by Roger Zander’s blog, the only difference is that I’ve defined a function and validated the parameters, using splatting it is a bit more elegant to read in my opinion. Continue reading “How to upload files to Azure Blob Storage using Powershell via the REST API”

Monitoring an Internet Connection using Python

When RaspberryPi 3+ first came out after playing with sensors and an Arduino Uno board for a while, I used it for monitoring wireless and internet connections in different premises. Thanks to the compact size and the low power needed it was the best tool.  I thought it would be interesting to know how consistent was the available bandwidth was during the day and eventually know if there were some unnoticed outages happening.

During these years I’ve used similar utilities, but I decided to write and share with you a simpler script that could be implemented quickly and help you to achieve similar results regardless that you run it inside a docker container, virtual machine or raspberry pi.

Continue reading “Monitoring an Internet Connection using Python”