Category Archives: Powershell

I Love PowerCLI!

I had a requirement to add an additional virtual hard disk to 50 virtual machines. This was going to be a painful job through the vSphere Client so I resorted to PowerCLI. The virtual machines all had a name starting … Continue reading

Posted in PowerCLI, Powershell, VMware | Leave a comment

Creating Multiple Virtual Machines with PowerCLI

I had a requirement to deploy a number of virtual machines from a template, so decided to do this from PowerShell instead of via the vSphere Client. I was happy for each of the virtual machines to be named with … Continue reading

Posted in PowerCLI, Powershell, VMware | 2 Comments

PowerShell Script to list NetApp LUNs Mapped to Igroups

I wanted to get a list of which LUNs on my NetApp filer were mapped to each igroup. This script is not very efficient but it gets the job done in the format I wanted it in. Using Windows PowerShell … Continue reading

Posted in NetApp, Powershell | 1 Comment

PowerShell Script to report on LUNs mapped to IGroups

I had a requirement to produce a report of which of my NetApp LUNs were mapped to which of my 3 VMware vSphere clusters. Each cluster has its own Igroup on the NetApp filer: – Prod-Cluster Dev-Cluster UAT-Cluster Some LUNs … Continue reading

Posted in NetApp, Powershell, vSphere | Leave a comment

Get NetApp Volume Options with PowerShell

You will need the DataONTap module for Powershell for these commands to work. If you already have the DataONTap modules installed you can load it in your current PowerShell session with the command Import-Module DataONTap You will then need to … Continue reading

Posted in NetApp, Powershell, Storage | Leave a comment