Add NSG Rule via Azure DevOps Pipeline

This blogpost describes how to add an NSG Rule via an Azure DevOps Pipeline to momentarily give Azure Devops via WinRM access to your Subnet. At this time of writing the “AzureDevOps” service tag which you can use in an NSG rule is not available. This is a workaround to momentarily give Azure DevOps access … Read more

WVD Springrelease ARMTemplate Token Refresh Script

This is a blogpost about a script which performs a Token Refresh for the WVD springrelease ARMTemplate deployment. This normally needs to be entered manually but with this script this token will be refreshed at the start of every deployment. I am talking about this parameter which sits in the ARM Template supplied by Microsoft … Read more

WVD Delete Hostpools Powershell

This is a blogpost about a script which initiates a delete request for all resources in a Resource Group, I use this script for deleting WVD hostpools with Powershell. The hostpool resource need to be deleted in an exact order.1. VM’s need to be deleted first.2. After that sessionhosts must delete from the hostpool.3. Then … Read more

Flow Triggered WVD DevOps Build

This is a blog about a new WVD DevOps build triggered by Flow. This Pipeline creates a new Windows 10 Immutable image which I use for my WVD deployment. To trigger this build you can use Microsoft Flow (PowerAutomate). Prerequisites You need the Flow premium license, more information about the licensing. Install the mobile Microsoft … Read more

WVD Logoff users Hostpool Powershell

This is a blogpost about a script which initiates a logoff for all users in a WVD Hostpool via Powershell. The script populates the hostpool(s) based on a Resource Group within Azure. If there are multiple hostpools within this Resource Group the users are logged off also. Script Syntaxis This is the syntax for the … Read more

WVD Set Drain Mode Powershell

This is a blogpost about a script to set drain mode for all session hosts via powershell in one WVD hostpool. This is a script for the spring release. The fall release CMDLets of WVD uses other CMDlets. WVD Script Firstly, we need to connect to Azure using Powershell. We can do this by using … Read more