Display vSCSIStats Data With Microsoft Chart Controls

I had to run vSCSIStats for the first time in a while the other day. Normally, trying to display the data that it outputs in a graphical form involves some cutting and pasting and a wrestling match with Excel. I recalled this time that someone had tried to automate the process in the past and a quick google search sent me to Gabe’s site and an article that he wrote back in February. The Excel macro (written by Paul Dunn) that was the subject of the article looked like just the job but I couldn’t get it to work for some reason. I’m not very good with vbscript and so I started to wonder if it might be possible to do it with PowerShell… Another quick google suggested Microsoft Chart Controls for .NET 3.5 as a potentially useful tool. Originally […]

Read More

PowerCLI: New cmdlets for Update Manager

VMware have this morning / last night released some PowerCLI cmdlets for VMware Update Manager (VUM). A short description can be found of them below: Cmdlet Name Cmdlet Description Attach-Baseline Attaches baselines to the specified Template, VirtualMachine, VMHost, Cluster, Datacenter, Folder, and VApp objects. Attaching a baseline to a container object such as a folder or datacenter transitively attaches the baseline to all objects in the container. Detach-Baseline Detaches baselines from the specified inventory objects. Download-Patch Downloads new patches into the Update Manager patch repository from the enabled patch download sources. Get-Baseline Retrieves the baselines specified by the provided cmdlet parameters. Get-Compliance Retrieve baseline compliance data for the specified object of type Template, VirtualMachine, VMHost, Cluster, Datacenter, Folder, and VApp. Get-Patch Retrieves all available patches or those specified by the provided cmdlet parameters. Get-PatchBaseline Retrieves allĀ  patch baselines or those […]

Read More

Basics: Open PowerCLI using different credentials

Everytime I use a different PC or laptop I always forget to do this after installing PowerCLI. I happily open PowerCLI up and try to connect to a vCenter server and get prompted for my login information. This is how I feel: Every time in that session that “Connect-VIServer” is used I’ll get it because my normal domain account doesn’t have any privileges in vCenter. The point of this post isn’t to teach anyone to suck eggs but maybe it’ll help me remember in future to make one tiny change after installing PowerCLI. Right click on the PowerCLI shortcut and open the shortcut’s properties. Click the “Advanced” button. Tick the box “Run with different credentials”. OK everything. The next time the the shortcut is used the option to specify different credentials is shown: Entering a different account here saves having […]

Read More