Category: PowerShell

Top level category for PowerShell posts

Azure KeyVault with .NET Core Web App – Part 1

Azure KeyVault with .NET Core Web App – Part 1

When it comes to security you can never bee too secure. Modern applications work with sensitive data and it is more important than ever to make sure that credentials are being well protected. When it comes to designing a web application I want to make sure that for any sensitive data (API keys, passwords, connections …

+ Read More

Installing CURL on Windows

Installing CURL on Windows

Curl is a very common CLI tool used for transferring data between systems using various protocols. Curl comes out of the box on Linux systems but now on Windows. This blog post will show how to download Curl and configure it to be called natively from CMD and PowerShell. Download Curl The first step is …

+ Read More

Find Available Addresses Within an Azure Subnet

Find Available Addresses Within an Azure Subnet

Overview I recently had to rebuild a customers Web Application Firewall cluster in parallel so the new infrastructure can coexist without affecting the original. As this was a 3 node cluster and each node has multiple IP configurations, I needed to understand what addresses were free so I could configure the new firewalls. A relatively …

+ Read More

ICMP on Server 2016 and 2019

ICMP on Server 2016 and 2019

By default the firewall on Server 2019 and Server 2016 blocks ICMP packets. I had to enable this on a VM and I do not like clicking the “Windows Firewall With Advanced Security” GUI. As such, PowerShell is the answer. The below code can be used to allow ICMP In and Out on Server 2019 …

+ Read More