Consolidating unmounted and open snapshots after virtual machine backup

At times, one or more disks from a virtual machine will remain mounted and snapshots will remain following the backup of a virtual machine. The cause of this is generally due to their not being enough time to unmount the disks and consolidate the snapshots when the job completes. This would require user interaction to … More Consolidating unmounted and open snapshots after virtual machine backup

PowerCLI: Retrieving ESXi Host System Management Network IP Address

I was recently looking at retrieving the allocated management network IP address for a large number of ESXi host systems and therefore decided to use the ‘Get-VMHostNetworkAdapter’ cmdlet  to which I would filter based on the device name value retrieved from the ESXi host system. In its simpliest form the cmdlet can be invoked as below: … More PowerCLI: Retrieving ESXi Host System Management Network IP Address

Windows Server 2012 virtual machines stop responding at splash screen

I recently discovered an issue on a restart of a virtual machine running the guest operating system Windows Server 2012 where following a restart the virtual machine would stop responding at the splash screen and required a manual shutdown and power on to restart the virtual machine. From investigation is a known issue caused by … More Windows Server 2012 virtual machines stop responding at splash screen

Generating a debug report to troubleshoot issues in PowerCLI

In order to be able to help troubleshooting an issue when invoking cmdlets in PowerCLI, you can collect debugging information by invoking the ‘Get-ErrorReport’ cmdlet to reproduce the problem and generate relevant information to a compressed file. In order to reproduce the problem, the cmdlet runs the script block which is required to passed to the ‘ProblemScript’ parameter, … More Generating a debug report to troubleshoot issues in PowerCLI

Retrieving Virtual Machine Templates as vSphere View Objects

It is possible to retreive virtual machine template information using the Get-View cmdlet, by retrieving VirtualMachine type objects based on the property value that describes the object as a template to which the value is returned as a boolean value. To retrieve VirtualMachine objects , the property value we require to retrieve is Config.Template where the value is ‘True’, which can … More Retrieving Virtual Machine Templates as vSphere View Objects