A better placement strategy for vCAC with Custom Properties

Reservation Custom Properties

As an update to the previous post on doing a manual placement of VMs I would like to present a approach for a placement strategy in vCAC that is a little bit more flexible than just relying on the location field and a reservation policy. The idea is to have custom properties on various reservations […]

[NoBrainer] Enumerate over all vCenter VMs in vCAC

Did you ever want to quickly enumerate over all vCenters that are connected with vCAC? without storing hard coded credentials? and never worry when endpoints are added or removed? Here is how …

biz.dfch.PS.Storebox.Api: Invoke-CteraFileTransfer

I updated the biz.dfch.PS.Storebox.Api for being able to have file transfers to and from Ctera (Storebox) via its REST API. There you will also find the link to the NuGet package and the Github repository. With it you can get a directory listing, download and upload a file. It uses our logging module as well […]

[NoBrainer] Get location field for vCAC ComputeResource

In vCAC you can set a location on a ‘Compute Resource’. While in some cases this might not make sense (e.g. vCenter stretched clusters) you might still want to use it, for example to implement some placement logic. When you have a look at the object, you might be surprised to see, that there is […]

[biz.dfch.PS.System.Data] Invoke-SqlCmd without the overhead

=== UPDATE 2014-10-19 === I created a separate module that uses the SqlClient where you do not have to specify the command type and where you can also use LocalDB connections. === For the full module and description see my Post Module: biz.dfch.PS.System.Data. === UPDATE 2013-12-21 === added an additional parameter to specify the command […]

Change VirtualMachine Reservation and StoragePath

Machine Resource Relationship

[UPDATE 2014-02-16] For a different approach on how to change HostReservation and StorageReservation have a look at the method via RegisterExistingVirtualMachine().] One of the limitations in vCAC 5.2 is the fact that you can only use one predefined field (“Reservation Policy”) per Reservation and another field (“Location”) per “Compute Resource” for having vCAC doing the […]

Synchronisation Issues in vCAC Workflows and how to solve them

Warning: this post describes a feature where the developers probably might not have thought of when they designed it. Use on your own risk (as with any scripts we show you here). When using workflows to integrate with infrastructure outside the control of vCAC (like getting the next available IP address from your IPAM system) […]

[NoBrainer] Convert byte array to hex string in PowerShell

This is a rather quick one and I am merely writing it down as I tend to forget … If you need a quick way to get a hex representation in string form (of a byte array or any string) you can use this fragment. You certainly can combine this with some hash computation if […]

Simplify your life while testing and debugging PowerShell scripts in vCAC

vCAC PowerShell Parameters

You have read all the blogs like Calling Powershell/PowerCLI Scripts from a vCAC workflow on how to call PowerShell scripts from vCAC or -if you really have to- vCO (when using the new vCAC plugin for vCO)? And you think it’s a cool feature? However, you have a bad feeling when it comes to testing […]

Handling PowerShell ValueFromPipeline easily

Did you ever want your Cmdlets tp support pipeline input but never took the time to correctly implement it? There is an easy way of handling input either from pipeline or as a parameter (regardless it being a sigle object or an array of objects). You just have to decorate a generic input parameter with […]