Categories
News Technical

Tech News: VMware PowerCLI 10.0.0! Released

VMware just released PowerCLI 10.0.0. and before you ask; I thought they were just on version 6?  I wondered the same and here is the answer: The decision to move to version ten was a marketing choice as the PowerCLI project recently celebrated its 10th birthday. Let’s get into the how to install or update to the […]

Categories
Software Technical

Online PowerCLI Installation, Quick Steps

Here are some quick steps to installing PowerCLI onto your computer to get you started. I performed the steps listed below on a Windows 10 Computer.   Overview VMware PowerCLI is a command-line and scripting tool built on Windows PowerShell, and provides more than 600 cmdlets for managing and automating vSphere, vCloud, vRealize Operations Manager, […]

Categories
How-To

PowerCLI: HowTo Remove Floppy Drive From {All} Powered Off VM`s

The following simple script will iterate though your vCenter environment and remove the floppy disk from VMware guest machines that are in a powered off state. Script text: I used Windows PowerShell ISE Set-ExecutionPolicy RemoteSigned #may require running as administrator Import-Module VMware.VimAutomation.Core Connect-VIServer -Server ‘your.server.here’ $off = Get-VM | where {$_.powerstate -eq “PoweredOff”} $floppy = […]

Categories
How-To Software Technical

VMware vCenter 6 Phantom Snapshots

I’ve been using vCenter 6 for a while now and noticed an odd issue pertaining to snapshots. It seems that all guest show a “revert to current snapshot” state even if a snapshot does not actually exist. However viewing under the Snapshot Manger… shows no existing snapshots associated with the virtual machine guests. I’ve noticed […]

Categories
How-To Personal Software Technical

Power Off & On VMware Guest with a Scheduled Task

  Using Windows task scheduler you can schedule power off and on events for guest systems running in VMware vCenter or a standalone ESXi host. My steps: Create a basic task – give it a name and description (optional) Choose when you want this task to stat Select the start date and time Choose “Start a […]

Categories
How-To Software Technical

VMware vSphere PowerCLI – Power Off & On Guests

Looking for a method to restart a non-persistent environment in ESXi or vCenter, I was able to use PowerCLI to issue the commands needed. Originally I was looking to automate the recovery of a snapshot when it dawned on me that a non-persistent disk would facilitate the same thing.  However I would need to power off the server […]