How to monitor and send Hyper-V Checkpoint alert in powershell

Introduction Hyper-V is one of virtualization software which has an ability to create a VM checkpoint. We can use this feature to roll back the virtual machine to a previous state. It usually used to take a backup temporarily when we’re doing VM configuration changes, or windows updates. Instead of using a full backup, it…

Hyper-V Automatic Virtual Machine Activation in Windows Server 2016

Windows Server 2012 R2 introduced a feature called “Automatic Virtual Machine Activation” (AVMA). Based on the number of questions that I’ve seen and fielded about it, I’d say that it’s been quite popular. Windows Server 2016 has carried this feature forward. What is Automatic Virtual Machine Activation? AVMA is engineered to digitally facilitate the guest…

Add new Domain Controller to existing domain with PowerShell

If you need the need to add a secondary domain controller, this script may help you. This script was tested with Windows Server 2016. Firstly, we need to install the ADDS server role on the server that will setup the domain controller using PowerShell: Once role is installed, we can use the following script to…