I propose we introduce each other. Then they can’t accuse us of bragging ;-)
This is where we start the actual scenario.One of us says he was tasked by his mgmt to provision X-number of machines for a new project.The other remarks, that meant overtime, clicking away in the vSphere client.Answer is that it was a piece of cake with the help of PowerCLI.This is where we could use some audience participation!Mgmt remarked if that PowerCLI would be easy.You tell them that it is so simple that it’s nearly as if your reading an English text.Some examples on screen and ask the audience if they know what the line is supposed to do ?Even mgmt could read it.Do we dare ask if there are managers in the audience (?)Then we show a video with the baby-maker:Specs for the new machines in a spreadsheetDeploy the new machinesShow the option of scheduling the deployment by a max number of parallel tasks.
This is where we start the actual scenario.One of us says he was tasked by his mgmt to provision X-number of machines for a new project.The other remarks, that meant overtime, clicking away in the vSphere client.Answer is that it was a piece of cake with the help of PowerCLI.This is where we could use some audience participation!Mgmt remarked if that PowerCLI would be easy.You tell them that it is so simple that it’s nearly as if your reading an English text.Some examples on screen and ask the audience if they know what the line is supposed to do ?Even mgmt could read it.Do we dare ask if there are managers in the audience (?)Then we show a video with the baby-maker:Specs for the new machines in a spreadsheetDeploy the new machinesShow the option of scheduling the deployment by a max number of parallel tasks.
Changes in the project, new HW is introduced.Part of the guests has to be moved to new clusters/new datastores.It’s easy to ‘motion’ guests with PowerCLIVideo:Complex selection criteriaPart of the guests are already running, we show vMotionPart of the guests have to go to other storage, we show svMotion
Changes in the project, new HW is introduced.Part of the guests has to be moved to new clusters/new datastores.It’s easy to ‘motion’ guests with PowerCLIVideo:Complex selection criteriaPart of the guests are already running, we show vMotionPart of the guests have to go to other storage, we show svMotion
One remarks, this is all very well, but there is still quite a console work involved (starting scripts, opening the resulting logs/reports).The other one answers, that why I used a Gui to do all this.Video:How to add the scripts to the GuiHow to run themHow to see the resultsThe Europe branch needs to do something similar.Avoid sending all the scripts and instructions, create a PowerPack.Video:How to create a PowerPackHow you can update a PowerPack
Project requires PVLANs.Not yet available in PowerCLI, but that’s where we show how to use the SDK APIsVideo:- Where is the SDK information and how to use itCreate functions for working with dvSwitches and PVLANs (can you use a module in a PowerPack ?)Perhaps we can also include some New-VIProperty stuff in here ?
Project requires PVLANs.Not yet available in PowerCLI, but that’s where we show how to use the SDK APIsVideo:- Where is the SDK information and how to use itHow to go from PowerCLI objects to SDK objectsCreate functions for working with dvSwitches and PVLANs (can you use a module in a PowerPack ?)Perhaps we can also include some New-VIProperty stuff in here ?
Mgmt wants to know where the project’s at. That means reports need to be produced.Video:Show how to find what is available (Get-Member)Different ways the reports can be scheduledPerhaps show the strength of PowerShell by using my Export-Xls function in here. Show how simple it is to interface with other products.
Mgmt wants to know if there is a need for new HW. This means capacity reports.Solution is the Get-Stat cmdletVideo:We show how CPU usage increased over a period of time on a cluster. From there we can make predictions.Similar thing for storage (add a joke that you want to sell storage since you’re a vExpert)What network traffic is the project generating ?
The audit team wants to know how secured/hardened the environment is.We show how we automated the hardening of the ESX(i) host through scripts.The auditors want to know if we can show any changes to the environment.We can produce a report that shows the permissions (principals and roles).We show a report that lists for example all portgroup changes to a specific set of guests over a specific period.
The project nears completion, the operators need to monitor the environment.PowerShell is present in SCOM 2007 R2. It’s simple to integrate (agentless, based on SNMP traps)Video:We show how to configure SNMP on the ESX(i) hostsWe show how to monitor the hosts in SCOMWe also show how vCenter can be integrated.We show a sample how generate a SCOM mgmt pack with the help of PowerWF Studio