Start-Transcript Now Available in the PowerShell ISE in PowerShell v5

*Warning. This article was written using the September 2014 PowerShell v5 Preview* Prior to PowerShell v5 it was not possible to use Start-Transcript in the PowerShell ISE, it could only be used in the standard PowerShell console. You would receive the error: Start-Transcript : This host does not support transcription. (There were alternatives to get round it , and here) Now in PowerShell v5 it can be used natively: Start-Transcript -Path C:\\Test\\Transcript.

Getting Zippy with PowerShell v5

*Warning. This article was written using the September 2014 PowerShell v5 Preview* (OK, I was really looking for an excuse to use the below picture in a blog post) One of the most popular and long standing requests for PowerShell is native support for working with Zip files. With PowerShell v5 we get two new cmdlets Compress-Archive and and Expand-Archive. Here’s a couple of examples of how they work. Compress-Archive

Use Headers in a vCO REST Operation

vCenter Orchestrator has a built -in plugin for working with systems that support REST API queries. I’ve used this fairly extensively recently while working with vCNS Out of the box the plugin will do the majority of the hard work for you, however one thing that isn’t available via the Add a REST operation dialogue is the ability to configure a custom header for the REST query. In the following example I need to add an if-match header to update the App firewall rules for a portgroup, but for a POST method I only have the option to specify the Content type:

vCenter Orchestrator Server Service Won't Start

This has happened to me twice now with vCO 5.5.1 running on Windows using the embedded database - once in a dev install in a lab and now also in my home lab. So figured it was time to write up the steps to sort it out. Issue: The vCO Orchestrator Server service won’t start. In the vCO log you find something similar to: [vcoInitializerScheduler-1] ERROR {} [ServerChecker] Server integrity problem: interface com.

Setting Static Routes with PowerShell when connecting to a PPTP VPN

Sometimes as a consultant I have a need to connect to customer or client networks to carry out some of the work. This typically involves a myriad of different remote connection and VPN style systems. Some are better than others and while it’s possible to use different VMs to connect to them, that’s not always practical. Typically I only want traffic destined for the remote system(s) to go down the VPN, not all of my Internet traffic.

Attending VMworld Europe?

I’m fortunate enough to be able to attend VMworld Europe again this year, so thought I would suggest a few tips based on my previous experience on how to get the most out of the conference. Some years ago now the first large scale IT conference I attended was Microsoft Teched in Barcelona. Prior to attending I had no real idea what to expect, but fortunately stumbled across these two posts (1 and 2) from Jonathan Noble which were a great help.

Automating vCAC Tenant Creation with vCO: Part 7 Creating a vCAC Catalog Item

In this series we will see how to automate the creation of a tenant in vCAC using vCO. There are multiple tasks to provision a tenant in vCAC, so even though it is an automation product itself, there’s no reason why you shouldn’t look at automating parts of it too. In part 7 we look at publishing our Create-Tenant vCO workflow back into vCAC as a catalog item to make for easy consumption of it.

Automating vCAC Tenant Creation with vCO: Part 6 Adding Administrators

In this series we will see how to automate the creation of a tenant in vCAC using vCO. There are multiple tasks to provision a tenant in vCAC, so even though it is an automation product itself, there’s no reason why you shouldn’t look at automating parts of it too. In part 6 we look at adding Administrators to a Tenant in vCAC. 1) Add the ‘Add administrators’ workflow Drag the Add administrators workflow from the vCloud Automation Center section of the workflow library

Automating vCAC Tenant Creation with vCO: Part 5 Creating an Identity Store

In this series we will see how to automate the creation of a tenant in vCAC using vCO. There are multiple tasks to provision a tenant in vCAC, so even though it is an automation product itself, there’s no reason why you shouldn’t look at automating parts of it too. In part 5 we look at adding an Identity Store to a Tenant in vCAC. 1) Generate the variables for adding an Identity Store

Automating vCAC Tenant Creation with vCO: Part 4 Creating a Tenant

In this series we will see how to automate the creation of a tenant in vCAC using vCO. There are multiple tasks to provision a tenant in vCAC, so even though it is an automation product itself, there’s no reason why you shouldn’t look at automating parts of it too. In part 4 we look at the first part of creating a Tenant in vCAC. 1) Create the parent workflow