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”

Active Directory User Account Lockout Troubleshooting

active-directory-user-account-lockout-troubleshooting-

Active Directory is such an important service that in most organisations after being implemented becomes essential and at the same time suddenly transparent to the end-user.

In my humble opinion even nowadays learning the fundamentals of Active Directory is very important for most support / technical roles and it will be a valuable skill for at least another decade, cloud technologies, for instance, will not make those skills disappear overnight.

Regardless of the size of the organisation who needs to support the end-user needs to understand well how it works or know how to solve the most common issues, in this article we will touch again of a very simple problem to investigate such the AD Account Lockout.

Continue reading “Active Directory User Account Lockout Troubleshooting”