Monitoring the Network Load with Powershell

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”

How to send an email with PowerShell using SendGrid API

how-to-send-an-email-with-powershell-using-sendgrid-api

I really like event-driven notifications that can trigger different webhooks and it’s really fun putting them together like pieces of lego to automate workflows.

The most common and simple notification method is via email, but there are scenarios where environments for security reasons and by design have just access to the internet on port 80/443  and this connection is often mediated via a web proxy.

Not having access to SMTP protocol can be a roadblock but, in this article, we will implement a solution to send an email with PowerShell under these limitations without changing Firewall Rules or NSG.

Continue reading “How to send an email with PowerShell using SendGrid API”

How to Send Messages to Slack with PowerShell

Collaboration software tools are present in some shape or form in every workplace and if properly implemented and organised will give team members the opportunity of working together not only in an efficient way, but getting the job done while having fun!

Integration with these tools is not just desirable, it’s sometimes required. The nature of instant messaging communication in each workplace my vary depending on the content and information can be volatile and informal or more persistent and organised.

Continue reading “How to Send Messages to Slack with PowerShell”