Archive for May, 2009
Timmy was always getting into some sort of trouble, wasn’t he? The famous collie running through the fields, may not be the first thing that comes to mind for a good PowerShell analogy, it does apply. Think about it. Timmy ran into trouble,and he told Lassie to “Get-Help”. Get-Help is one of the most useful [...]
Was actually pretty easy. Rather than give a full run down, with youtube video, etc. I’ll give you the cliffs notes version of getting it up and running:
Create Virtual Machine, Custom
WS 6.5 Compatibility
Linux Kernel, other
Number of processors: 2
Memory: 1024
Bridged Networking (change to team later on)
LSI Logic
New disc, SCSI [...]
What good is having PowerShell everywhere, what do you do, when you run a “Heterogeneous” environment? Today we’ll show you the basics of building a hypervisor agnostic script. We’ll build on this knowledge over time. To do this, we’ll use a slight modification on our existing “get-uuid.ps1” script. We’ll break this out into a few [...]
So, here is the presentation. Really. Right here. Well… actually it’s on MediaFire here. The Slide Share part can be viewed below:
Managing Virtual Infrastructures With PowerShell
View more presentations from guesta849bc8b.
Got Questions? Drop us a line in the comments.
Brandon Shell published his Synergy demo, exhibiting the power of PowerShell when used with XenApp. You can also take a look and Brian Madden & Brandon talking PowerShell here.
Here is the sample code from our fourth and final demo during the presentation, the “Mass Provisioning”:
In order for this script to work, you need to supply it with a csv file that has a format similar to:
ServerName,CPU,RAM,DISK,OS Test1,1,1024,20480,rhel5guest Test2,1,1024,20480,winNetEnterprise64Guest
In fact, the above can be [...]
This was covered in the ‘advanced topics’ section of our presentation. It is of course, the chicken counter script:
This script introduces a few new and advanced concepts (at least in the context of the presentation). The first having to do with VI Credential Stores (More Info). The second being custom properties (The Name, Expression [...]
This is the “VM Easy Bake Oven” rewritten for XenServer. Take a look at the example code:
Same flow as the VMware Demo. Connect, create, get some info, change the VM, and delete the VM. Special things to note here however, is that the Memory (DynamicMax, StaticMin, etc) need to be set in bytes. Other [...]
This one flows much the same as Demo 1 for VMware. The example code:
Here we get credentials, and pass that to the connection to XenServer. Note that for XenServer (at least the Citrix variety) you need to specify the URL of the Xen HOST itself. After that we create the network, change it’s description, [...]
Here is the code from the “VM Easy Bake Oven” or Demo 2 for VMware.
This one flows much the same as Demo 1, connect, create a VM, change the VM, and delete the VM. These commands are useful from the command line to create single or multiple VMs, as well as for getting used [...]