Category Archive: PowerCLI

Mar 13

Collect Virtual Disk IOPS with PowerCLI

I was messing around with PowerCLI and the real-time statistics to collect the IOPS used by virtual machines/virtual machine disks in my my home lab. Virtual disk performance counters are available in the real-time performance stats but at the default statistics level, Level 1, with the IOPS statistics are not rolled up into the daily, weekly, monthly, or yearly statistics. I put together a PowerCLI script, collect-iops.ps1, to collect the real-time samples.

Feb 21

Automated vSphere Lab Deployment Script

Very handy! @lamw has put together an automated lab deployment script which will deploy a 3 host nested vCenter/ESXi/VSAN/NSX Lab. It supports vSphere 6.0 Update 2 and vSphere 6.5. The scripts provide a fully deployed and ready to use lab in under an hour! A full write up and links to the scripts can be …

Continue reading »

Sep 16

SimpliVity Direct Connect to 10 GbE Switched Migration

In a two node SimpliVity deployment there is no requirement for 10 GbE switching. The SimpliVity nodes are directly connected to provide connectivity for the SimpliVity Data Virtualization Platform (DVP) between nodes. As the environment grows adding addition SimpliVity nodes or compute nodes may be required. This requires 10 GbE switching for SimpliVity Storage traffic between SimpliVity nodes within the same datacenter and/or between SimpliVity nodes and compute nodes.

Jul 22

DR Automation using SimpliVity’s REST API

I was working with a partner last week brainstorming different ways the SimpliVity REST API could be leveraged to simplify and automate the recovery of workloads protected using SimpliVity’s data protection to a Disaster Recovery site.

Apr 19

Preparing Compute Nodes to Use SimpliVity DVP

With the efficiency SimpliVity’s Data Virtualization Platform (DVP) brings to data with deduplication, compression, and optimization SimpliVity customers often need to scale compute before they need to scale storage. As long as the SimpliVity environment is capable of providing the storage capacity and performance required the compute resources can be scaled using what we call compute nodes.

Mar 17

The 2nd Must Have PowerCLI Reference

Of course the first must have PowerCLI reference was the first edition of the VMware vSphere PowerCLI Reference book which has had a spot on my desk for the last couple years and I refer to it often. I recently picked up the 2nd Edition of the book and it has now taken the 1st …

Continue reading »

Mar 01

Quick PowerCLI to Get SnapShots and Size

Just a quick VMware PowerCLI one liner to display the number of snapshots for each VM and the total size in MB of the snapshots for each VM.

Jan 23

PowerShell Basic – Quick Mass Filename Rename

Just a quick snip of PowerShell for renaming files or folders in mass.

Jan 18

VM Guest Volume Blocksize Report

This is just a quick script I put together for a fellow SA to generate a HTML Report contianing details on the configured volumes for all running Windows Guest VMs. The HTML report shows the Name, Label, Filesystem Type, Allocation Unit (Blocksize), Capacity, and Free Space.

Dec 15

Lab Deployment PowerCLI Script for TCC VMware ICM Class

Finished up another successful vSphere 6 Install Configure Manage class at Tidewater Community College last week. Time to re-provision the lab environments to get things ready for the next class.. This is a PowerCLI Script I put together to help automate the lab deployment for TCC VMware IT Academy classes.

Older posts «