Tag Archive: powershell

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.

Jan 30

SimpliVity Custom Backup Scheduling Using the REST API

SimpliVity Backups are Policy-based and VM-Centric. SimpliVity Backup Policies automate the protection of virtual machines in order to meet Recovery Point Objectives (RPO). Full virtual machines or individual files/folders with virtual machines can be quickly restored to the point in time when the backup was taken. This post provides a solution for using the REST API to schedule SimpliVity backups outside of the standard options available when creating backup policy rules.

Jan 05

Add an Entry to ESXi /etc/hosts using PowerShell

I was looking for away to easily add an entry to an ESXi host’s /etc/hosts file without using SSH to connect to the host. ESXi has a file management interface which can be accessed with standard GET/PUT operations. I put together a quick example of doing this with PowerShell using Invoke-WebRequest.

Dec 22

Locating SimpliVity Manual Backups

Policy based SimpliVity backups have a retention period defined in the backup policy. When the retention period expires the backup is removed from the system. When a Manual SimpliVity Backup is taken, no retention period is set and the backup will never expire. This post provides some details on how to locate Manual SimpliVity Backups using the vSphere Web Client or the SimpliVity REST API.

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.

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.

Aug 10

Change IP Address on Windows 2012 VMs with PowerCLI

Just a quick script I put together to change the IP Address of Windows 2012 (including R2) virtual machines using PowerCLI.

Mar 08

View PowerCLI – Adjust Spares for Peak and Off Peak

One nice feature of Citrix XenDesktop is the ability to adjust the number of powered on desktops for Peak and Off Peak hours. This feature is sadly missing from VMware Horizon View. There is, however, away to accomplish the same functionality using View PowerCLI.

Dec 10

Automating with vRealize Orchestrator

I was recently convinced by Hersey to present at our Hampton Roads VMUG on automation and orchestration.  As this is still a relatively misinterpreted topic, I took the opportunity to differentiate between automating tasks, and combining those tasks to orchestrate complex workflows, along with some examples. What I gathered from the session is that there …

Continue reading »

Older posts «