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”

Enable RemoteDesktop with PowerShell

enable-remotedesktop-with-powershell

From time to time I visit my public or private git repository knowing that I’ve faced and solved that problem before, knowing that the solution was tested and work as expected.

In this case, I had a script that was a oneliner ( nothing wrong with), it but to meet the goal I needed to add another 2 lines, so to make it more reusable by other user and still keep it readable and flexible I’ve refactored the script and wrote this article. As mentioned in the title the subject is RDP and Powershell.

This is, without any doubt, a 101 subject for every system administrator.

Continue reading “Enable RemoteDesktop with PowerShell”

Powershell as glue for System Center Virtual Machine Manager (SCVMM) and VEEAM Backup & Replication

powershell-as-glue-for-system-center-virtual-machine-manager-scvmm-and-veeam-backup-replication

IT infrastructures and services management was and still is today an important part of my ‘business as usual‘ set of activities. Regardless of the tools and technologies implemented what I look for are always two features for monitoring and automation, simplicity and efficiency.

If monitoring is essential for having visibility on the overall infrastructure and for being proactive, automation is necessary for delivering consistent results in a timely manner especially in complex scenarios.

Continue reading “Powershell as glue for System Center Virtual Machine Manager (SCVMM) and VEEAM Backup & Replication”