Tag: PowerCLI

12th August 2015 · Luca Sturlese

I recently ran into a problem were virtual machines running Windows 8 and Server 2012 don’t ever come back from a reboot, but rather get stuck on the Windows boot splash screen. The only work around to get the machine to boot is to manually power it off and then power it on again.

Good news is, there is a solution to this crazy weirdness; and it is documented below…

Read More “Fix – Windows 8 and Server 2012 virtual machines don’t ever reboot”

5th August 2015 · Luca Sturlese

Recently I needed to find if any virtual machines had been deployed or cloned on a particular day (in order to troubleshoot a storage issue).

The Tasks & Events view in the VI client only shows the last few days of events, so if you need to get events from an older date the only way is through PowerCLI.

Here is how to do get a list of events from vCenter Server using PowerCLI…

Read More “Get vCenter Events using PowerCLI”

16th November 2014 · Luca Sturlese
Important Update

As of September 2015, I have released version 2 of my PowerCLI Script Template, which includes a number of improvements over this version, in particular the use of the new PSLogging PowerShell module that significantly improves the creation and management of log files. This version of the template is no longer supported or maintained, so please upgrade to the new version today!

Version 2 of the template is available here – PowerCLI Script Template v2.

A while a go I posted up my PowerShell Script Template which turned out to be pretty popular with fellow PowerShellers.

I recently create another slightly modified template when working with PowerCLI, so I thought I would share it here. Here is my PowerCLI Script Template to be used for all your VMware scripts…

Read More “PowerCLI Script Template”