custom script extension

Add Custom Script Extension on multiple Azure VMs

Hi Scripters! Today want to share with you my script to add custom script extension on multiple Azure VMs. Recently I was working on a project where one of the requirement was installation of FTP service on 20+ virtual machines already created in Azure. I’ve created a script for FTP service installation on single server, but how to apply it automatically to multiple of them. Decided to add custom script …

Enable backup for all Azure VMs in your subscription

Hey Folks! Today I’ve got for you script which will enable backup for all Azure VMs in your subscription. All admins which setup IaaS environment in cloud, doesn’t matter if this is Azure or Amazon must remember that data from virtual machines should be configured to restore them in any time. In Azure there is a separate service to manage all backups of virtual machines called Recovery Service Vault. You …

Configure Azure SQL Server firewall

Hi Scripters! Today want to show you how in easy way configure Azure SQL Server firewall for multiple IP addresses. Last time I was working on IaaS configuration to allow connections from virtual machines to Azure SQL Server and decided to share my code with you. Script which I prepared is configured in following way. In first step it gathers all of the virtual machines in subscription and prepare rule …

Generate certificate and add it to Azure Virtual Machine

Hello scripting maniacs! Today post will show you how to generate certificate and add it to Azure virtual machine using PowerShell script. Last time I have a case to configure Azure Front Door service with virtual machines which will be set in the backend. However during setting up this service I found that on virtual machines certificate with proper names should be configured. I have an idea to create self …

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 …