List the parent and active snapshot per VMware Horizon pool

On my GitHub page (link), I uploaded a PowerShell script that identifies all the active parent and snapshot per VMware Horizon pool. The parent VM is also known as Golden image. With this script, you can quickly identify what parent VMs and snapshots are in use.   Share Tweet … [Read more...]

Datacenter Migration with VEEAM Backup & Replication and PowerShell

For new customers we often need to migrate their virtual machines from their datacenter into our datacenter. We use VEEAM Backup & Replication for this because it offers us the ability to pre-sync the VMs a few days before the migration and on the day of the migration it self, the last data sync is very short and … [Read more...]

Health Check your System Center Virtual Machine Server (SCVMM) 2012 environent with PowerShell

Last week I created a simple example of a Healt Check PowerShell script that connects to Microsoft System Center Virtual Machine Manager and displays information about the Hyper-V hosts and VMs managed by this server.  I run the PowerShell script  from another Windows Server 2012 host. To make this work make … [Read more...]

Restoring the default vCenter Server alarms

I’ve been troubleshooting some vCenter alarms lately, which involved a lot of editing, removing and adding of alarms. After the troubleshooting I wanted to reset everything back to default and ran into VMware KB article 2009166, explaining how to restore the default vCenter Server alarms. To restore the default … [Read more...]

PowerCLI automation: Create vCenter Notification Email Alarm Action

I’ve received a request from a customer recently who wanted to configure all vCenter alarms to send a notification email. This instantly made me decide that PowerCLI was the best way to go rather than wasting a lot of valuable time in the vSphere client configuring the email notification alarms. PowerCLI … [Read more...]

Masking LUN paths using PowerCLI

I got a question on my previous post about the Get-EsxCli cmdlet, ESXCLI the PowerCLI way, from Alasdair Carnie who was having trouble using the Get-EsxCli cmdlet to mask luns at the ESXi host level. In this post I’ll show you how to accomplish LUN masking at the ESXi host level. Note 1: Before you read any … [Read more...]

Managing VMware DRS rules using PowerCLI

One of the core features of VMware vSphere is the Distributed Resource Scheduler (DRS). VMware DRS is vSphere’s workload load balancer and relies on VMware vMotion technology to live-migrate workloads from one ESX host to another. You can constrain the VMware DRS decisions by defining DRS Rules. As of vSphere 4.1 there … [Read more...]