If you enjoyed this video, be sure to head over to [ Ссылка ] to get free access to our entire library of content!
The Azure Hybrid use Benefit is a quick and easy way to save money on Windows Virtual Machines in Azure. It applies our on-prem licenses to the Azure virtual machines and reduces the cost because we already have a license. It's a great benefit but it can be laborious to apply the benefit to many virtual machines. This is where PowerShell comes in. In this topic, we quickly create a couple of simple functions to add and remove the hybrid use license for existing machines. This makes it very easy, and scalable, to swap the benefit from one machine to another.
Prerequisites include:
An Azure Subscription
An Azure Virtual Machine
The AzureRM modules loaded
Head over to adamtheautomator.com now for hundreds of in-depth, informative how-to articles just like this!
![](https://i.ytimg.com/vi/t3krD18kv1U/maxresdefault.jpg)