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
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
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
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
As part of an automated delivery of a virtual machine running Microsoft SQL Server I had a requirement to create a number of virtual machine hard disks and for each disk create a NTFS mounted folder. In order to achieve this I was required to create two functions one to create the virtual machine hard … More Automating the creation of virtual machine hard disks and NTFS mounted volumes for a virtual machine.