Category Archives: Virtualization

Powering on a virtual machine from the command line

I recently made a post about powering on virtual machines in bulk using PowerCLI. That process worked well to power on VMs in vCenter, but what if you need to turn on vCenter? In some cases (lockdown mode, firewall rules, … Continue reading

Posted in Virtualization | Leave a comment

Quickly power on virtual machines with PowerCLI Get-View

I recently had a need to power on a lot of virtual machines in a specific order. I was given several text files each numbered with a startup sequence. At a specific time I would be given a number and … Continue reading

Posted in Scripting, Virtualization | 2 Comments

Remove vCenter Scheduled Tasks with PowerCLI (Part 3)

In my most recent series on vCenter Scheduled Tasks with PowerCLI, I have provided three functions…Get-VIScheduledTasks, Get-VMScheduledSnapshots, and New-VMScheduledSnapshot. To complete the series, I have a final function Remove-VIScheduledTask. I don’t really see the need for this one, as you … Continue reading

Posted in Scripting, Virtualization | 2 Comments

New vCenter Scheduled Tasks with PowerCLI (Part 2)

In a recent post New vCenter Scheduled Tasks with PowerCLI (Part 1), I provided two functions that return information related to vCenter Scheduled Tasks. This was my first step towards creating a PowerShell function that I could run to create … Continue reading

Posted in Scripting, Virtualization | 11 Comments

Get vCenter Scheduled Tasks with PowerCLI (Part 1)

I work with a lot of scheduled tasks. Typically, these tasks run powershell scripts from the Windows Task Scheduler. However, when working with simple VMware tasks (like creating snapshots right before a maintenance window) I like to use the Scheduled … Continue reading

Posted in Scripting, Virtualization | 10 Comments