Get Azure virtual machines without NSG and ASG assigned

Hi Scripters! Today I’ve got for you awesome script which will generate report with information about Azure virtual machines without NSG and ASG assigned. For non-Azure related people – Network Security Groups and Application Secuirty Groups are Azure network security concepts, which allows to filter/block virtual machines network traffic and easily group them according to ports which should be used by specific type of application. Both NSG and ASG are …

Quick Test-NetConnection

PowerShell Tip of the Week: Quick connection test on remote machines

I’m often asked how to quickly test connectivity on remote machines. In this short article from PowerShell tip of the week series, I wanted to share such script with you. I hope that it can be useful for some of you. Quick connection test Basically, the script is based on Test-NetConnection command. I running it inside single Invoke-Command script block. The Invoke-Command cmdlet runs commands on a local or remote computer and …

netstat traceroute files

Get netstat and traceroute results from remote servers

Today you will find out how to get netstat and traceroute results from remote machines. I often had a situation where I was asked to do some basic checks from a network perspective. It’s easy once you already have a script for that. Netstat and traceroute There are multiple ways to do network checks. I guess that most of you are probably familiar with commands like ipconfig, tracert, netstat and …

Check Azure VPN connection health

Hi Scripters! Today I want to show you how to check Azure VPN connection health using PowerShell. In my last post I showed you how to Setup Azure VPN. We will continue last topic about VPN but from monitoring perspective. It’s important to monitor Azure resources, specially if we connect Azure with On-premise environemnt. By default there is not standard monitoring solution which can help us to diagnose connectivty issue. …