PowerCLI

PowerCLIStoragevHersey

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.

Read More
PowerCLIvHerseyVMware

VMworld vBrownBag Tech Talk: Managing ESXi SSH Service with PowerCLI

The talk was on using PowerCLI to manage SSH. Specifically about using PowerCLI to report on the status of the SSH Service on ESXi host (is it running, what is the policy set for), updating the policy (Start and Stop with Host, Manual, Automatic), stopping and starting the SSH on ESXi hosts, and configuring the firewall for the SSH service to limit access to the service.

Read More
PowerCLISimpliVityVMware

PowerCLI: Create vCenter Role and Assign User Permissions

With out going too deep, part of a SimpliVity deployment is preparing the VMware environment. Preparing the VMware environment includes creating a Role including the necessary Privileges and setting up the required permissions in vCenter for a SimpliVity user. This is easy enough, but I created a PowerCLI script which creates a Role, applies the required Privileges to the Role, and applies the Role to a user as a permission in vCenter.

Read More