Today I’ve answered a question in one of my blog articles on SendGrid API and PowerShell on how to add attachments to an email when using the API.
The official documentation is pretty clear if you want to pass a text or binary file as an attachment the SendGrid API is requiring a couple of strings: filename and content in base64, but in case anybody finds a roadblock here this article it may help you. Continue reading “Base64 Encoding with Powershell and .NET Framework”
Working Remotely – Different solutions for Small Businesses with Powershell and SSH Tunnels
The first quarter of 2020 changed our personal and professional life in a lot of ways. I’ve read a lot of articles around the trends of adoption of cloud services and all software that should facilitate the challenge of enabling in every country the same practices and processes of working remotely.
During the last couple of months, I’ve received from small-medium businesses owners and IT professionals the same question how to transition smoothly and quickly. Working in the operations field for mid-large organisations it required me to step back from the most obvious and structured approaches and be more flexible and down-to-earth.
Powershell 7 is out. Haven’t you installed it yet?
Earlier this month Powershell 7 went GA and it is a new major release 2 years after the previous one. I always think that whenever a new major version is out it is definitely time to install it.
What I generally do and suggest everybody do the same is to look at the new features, at the deprecated ones if any and most importantly to see what’s the impact or implications for the code that I will consider to run on PowerShell core in this case. Continue reading “Powershell 7 is out. Haven’t you installed it yet?”
Monitoring the Network Load with Powershell
Monitoring is an important activity in IT operations, it’s essential for correlating the state of all the moving parts of our systems and applications and create a big picture of the health of the whole environment. Before going down the rabbit hole of complicated monitoring tools and techniques let’s start with define a that monitoring can be subjective and on a case-by-case can be very basic or detailed and can let you choose a specific tool or strategy. There is no one-size-fits-all. This week I needed to implement a custom check to monitor the network load/usage on any Windows OS and instead of looking for a third-party tool and deploying maybe another agent on servers I wrote a Powershell script to perform this activity.
Continue reading “Monitoring the Network Load with Powershell”

